Most voted "html" questions
Use this tag when the question refers to some resource, information or problem related exclusively to the HTML language (Hypertext Markup Language). HTML is the main markup language used to structure web pages and format content. The latest revision of the HTML specification is HTML5.
Learn more…14,259 questions
Sort by count of
-
0
votes0
answers67
viewsHow to ban file download and leave only preview?
I have a file, example: a movie "The avengers.mp4" and I only want the public to view, but if someone tries to access to download is not allowed to download.
-
0
votes1
answer272
viewsClear auto-refill of Asp.net mvc forms
I have a sign-up screen where I noticed that when the user lets the browser save the cache, when it will fill always comes a list of information that has already been typed, I would like to clear…
-
0
votes2
answers1071
viewsCapture event close window
I need to perform an action when the user closes a window on my PHP system. I found a JS code that does this in IE, but Firefox does not work: document.onkeydown = fecharIE; window.onbeforeunload =…
-
0
votes0
answers580
viewsFile not found when giving
I have an HTML form: <link rel="stylesheet" type="text/css" href="script/overlay-div/css/overlay-div.css"> <link rel="stylesheet" type="text/css" href="style/bootstrap.css"> <link…
-
0
votes1
answer1224
viewsHow to display Wordpress "recent posts" on an external html page
I made a site using HTML & CSS and created the blog in CMS Wordpress. I have no experience with programming and now I need to search the database the last 3 recent blog posts I created. Does…
-
0
votes1
answer43
viewsYou doubt Draggable’s position
I need to ask you a question! I’m creating a Dashboard to Administer a site, but I’m having a hard time figuring it out, because when I place an image on the scale I want, but when I update it, it’s…
-
0
votes2
answers44
viewsHow do you show only the shops of the selected neighborhood?
When clicked in the neighborhood 1, all div(store class) that did not belong to that neighborhood would be on display:None. may have several neighborhoods so wanted a way that did not need to update…
-
0
votes2
answers450
viewsPictures above the carousel
I’m not able to put the images above the carousel, I’m trying to put my remaining content above the carousel but it’s not working, I tried everything, but it’s coming down. Follows the codes.…
-
0
votes0
answers35
viewsError sending email through the mail function
I need to make one form that send a message to a mail. I already used "mailto:...." but when I went to test I was always opening the outlook. So he went to research and I ended up with this code on…
-
0
votes2
answers4960
viewsAdd Header and Footer to all pages
I am creating a new version of a city guide portal, there are several pages and currently the staff uses the include of the . shtml: include virtual="../header.htm" include virtual="../footer.htm"…
-
0
votes1
answer1496
views -
0
votes2
answers54
viewsApply css to form only in one domain
Good morning. I have a website that is available in en and en. On this site I have a contact form: <div class="form_cotation"> <header> <p><?php echo lang('request_cotation');…
-
0
votes0
answers458
views -
0
votes1
answer445
viewsPop-up with video for website
I have a normal site and I need that when I enter it have a pop up with a youtube video. A normal pop up with a close button. Can be done in html/css or with javascript or jquery
-
0
votes0
answers138
viewsError 500 or 502 in calling Ajax to a PHP file
I have the following problem, I have a report screen that makes an Ajax call that returns all items to me. But when the report has few records it returns everything right, Ajax makes the request…
-
0
votes1
answer569
viewsMultiple modal bootstrap always returning the same content
I’m developing an Asp.net mvc application, on one of the pages of the site I call several bootstrap modals over each other, however, when you already have an open modal the new appears with the same…
-
0
votes1
answer686
viewsImplement slider for automatic transition
I took an example of a slider of a question here from the site. I want to know how I can implement it so that it transitions automatically, keeping it by the buttons. Follow the code: function…
-
0
votes1
answer53
viewsShow DIV by an ID
I am wanting to add this message on a page called contact.php <div class="alert alert-warning alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert"…
-
0
votes0
answers55
viewsFixed bar in CSS footer does not display correctly on iPad
I have a div to stay in the footer, but when accessed by the IPAD it creates a distance from the last DIV with the DIV fixed footer. CSS: .fixo-modelo-3-1 { position: fixed; width: 100%; height:…
-
0
votes2
answers1725
viewsDIV with height:auto; does not readjust according to the height of the internal DIV
I have a DIV with height:auto; which does not adjust the height according to an internal div with height:120px; See the CSS .conteudo-modelo-3-0 { width:960px; height:auto; margin: 0 auto; }…
-
0
votes0
answers35
viewsGoogle search shows Parent directory instead of title and description
Good Afternoon, I noticed that google has the title of my web page Parent directory and as a description lists the files and folders, when in the html file I have the correct metadata and. Can…
-
0
votes1
answer214
viewsDoes nothing when trying to open popup
In HTML I have this footer : <div data-role="footer" data-position="fixed" data-theme="c" data-tap-toogle="false"> <div data-role="navbar" data-grid="c"> <ul> <li><a class…
-
0
votes1
answer89
viewsProblems with parse of JSON in Angularjs
I have a controller that returns a JSON object in the following format : [ {"idCliente":1, "nomeFantasia":"Flores", "razaoSocial":"Transportes Flores Ltda.", "contatosClientes": […
-
0
votes0
answers125
viewsHTML fixed element with scrollToFixed
I’m using the scrollToFixed plugin to work with fixed elements on the screen. What I’m trying to do is, I have a div, and when my header hits a certain point, I want that div to move along and when…
-
0
votes1
answer734
viewsHow to open an external page in phonegap when clicking?
Today I started developing using Phonegap, but I came across a problem, which is to click on a link and not be able to open an external page, as if it were a new Activity, how can I perform this…
-
0
votes1
answer727
viewsHow to create cookies for popup advertisements open 1 time only 24 hours
I could use a little help with my website. For a long time I use the popup format to modernize my site, however gain for the first time it is displayed to the same user within 24 hours... Only this…
-
0
votes0
answers65
views -
0
votes1
answer55
viewsUsing Javascript for iframes list
I’m using iframes to a portal, I had to use it calling for id to solve a previous problem. The problem now is that I can’t create a list of iframes in javascript, I can only create a id with the…
-
0
votes2
answers339
viewsEvent javascript to scroll over an area or div
I have a page where an area or div that does not have the Side Scrollbar, simply because it is not necessary.I would like to capture the event when the mouse rotates the roulette over that area…
-
0
votes0
answers453
viewsRotary banner with previous and next button
I have this code in jquery which is made for banner with numeric buttons (1,2,3,4...). I wanted to change the configuration so that it can be used with only two buttons, the next and previous…
-
0
votes1
answer791
viewsDate Timer
Good is the following I have a certain date and a certain time. I wanted php to show me how many days, hours, minutes and seconds are left for that particular date and that particular time. I mean,…
-
0
votes3
answers215
viewsLeave current page highlighted in a page selection menu?
I have a page selection menu whose final appearance (the current page highlighted with a different color) should be generated dynamically because I want to reuse the same menu for numerous pages, as…
-
0
votes2
answers119
viewsHow to avoid the spread of the toggleClass method in the click event
In the code below I have two toggleClass(are in total 12) that are working properly, but I need it to be expanded only 1, that is, if I expand the primeiro and then the second, immediately the…
-
0
votes3
answers2014
viewsVideo continues running at close modal
I have a bootstrap modal that opens automatically when the page loads. Inside this modal there is only one video. However, when this video runs and the modal is closed the video continues running.…
-
0
votes2
answers330
viewsDifficulties with slider and overflow:Hidden
I have a structure in HTML and CSS to make a slider, should work as follows: The images are next to each other, however, only one appears on the screen, and as the images will be next to each other,…
-
0
votes1
answer117
viewsproblems with autofocus in custom input
galera created a custom input, it works 100% the problem and autofocus is not working. Could someone help me? Follow the code jsfiddle…
-
0
votes2
answers1463
viewsReceive php Json values in Javascript for Chart.js charts
Hurrah, I have 2 graphics and wanted to bring them values from the database so I use php and bring the values with Json as follows: $pe= array(); $pe['fechados'] = $total_fechados; $pe['aguarda'] =…
-
0
votes1
answer183
viewsConflict called Google Maps
Well, on a page I call 3 modals of Bootstrap, each modal has a div with map inside, each map being clicked is created a Marker, and passed its address to a specific input text, each call with map…
-
0
votes2
answers287
viewsLightbox does not cover the entire screen
When I open the image in the lightbox, and I scroll down the page, it looks like this: Can someone help me? my code is as follows: html: <div class="mtlsr-images-for-lightbox"> <ul>…
-
0
votes1
answer485
viewsHow do I make Transition work in "round trip" when using Hover?
I have this :hover here... .novidades{ background-color: #F5dcdc; background-color: #f5dcdc; background: linear-gradient(#f5dcdc, #bebef4); position: relative; bottom: 0; } .novidades:hover{ bottom:…
-
0
votes1
answer81
viewsDirecting to two pages
I am working on some updates and I need my Javascript function to open a new tab with a boleto and back to another after I click generate boleto. It opens the new tab, but does not go back to the…
-
0
votes3
answers1771
viewsHow to confirm that the page has left?
How can I confirm if the user really left the page, because when I click on the browser to exit and say I want to remain it turns the name of mine a 1 and then no longer 0. Does anyone have a…
-
0
votes1
answer118
viewsOpen div according to combo selection
Need to include lines in a table with textbox fields according to combo selection. x is that if the user selects in the Employees = 2 combo, it must display the textbox Name 1 and Name 2, if you…
-
0
votes2
answers884
viewsHow to stretch an element to the end of the screen?
How to stretch an element to the bottom of the page taking into account the position it is in? ex: <div class="caixa1">CAIXA 1</div> <div class="caixa2">CAIXA 2</div>…
-
0
votes0
answers789
viewsGeolocation by Kilometer Radius from a Central Point
I’m looking for how to make a geolocation script to find cities within a radius of X Km from a central point. How so ? For example, in a combobox I choose a city - Rio Claro/SP - from there I want…
-
0
votes1
answer283
viewsJquery: Mask does not erase
I’m not able to type anything inside a textbox field that I put date mask, it doesn’t let me erase or type over, it always stays 11/11/1111 It follows below the codes that I put: All I care about:…
-
0
votes1
answer595
viewsAutomatic height chat iframe
I’m developing a chat in php, it’s working perfectly, however, I’m having trouble putting the iframe for the main site where the client will have access, in the code it opens the iframe, but if I…
-
0
votes0
answers229
views -
0
votes4
answers1973
viewsHow to make a list item show/hide a DIV when clicked?
#fonte { display: block; width: 200px; height: 200px; outline: dotted; } #conteudo { position:…
-
0
votes0
answers234
viewsRendering HTML with AJAX call using PHP and MVC concept
Good night. I usually use the MVC (Model-View-Controller) standard in projects, independent of the programming language. In PHP the directory structure looks like this: - assets - css - js - img -…