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
- 
		3 votes1 answer4599 viewsPut a div behind the otherThere’s no way I can make this work. I’m using "Animate.css" to make the animations of the elements appear, but when an element is going up, at the bottom of the page for example, all the content of… 
- 
		3 votes1 answer57 viewsTag footer at browser boundaryI have a footer tag on my HTML page that calls the Bootstrap panel-footer class. I would like to leave this footer at the browser limit open and compliant and not at the limit of the content on the… 
- 
		3 votes0 answers42 viewsWhat is the correct way to assign a function to an HTML eventIn programming we know that it is possible to get the same result by following different paths, however, there are also good and bad practices. There are websites and developers that use different… 
- 
		3 votes2 answers1136 viewsHow to make full-page vertical slides that roll with the mouse scroll?It is possible to make the page scroll to a specific element (such as <section> or <div>)? It’s like a vertical slide (Section) that occupies the entire screen. As an example, this site… 
- 
		3 votes3 answers4599 viewsJavascript - save/update contentGood staff my question is the following: I would like to know if it is possible to update the contents of a file in general. Example: I have a file called html name. and inside him I have a… 
- 
		3 votes1 answer2212 viewsDisplay thumbnails of filesDoes anyone know of a plugin that allows previewing TXT, PDF, DOC, and XLS files to display on a web page? In the example image, a PDF and an image are displayed… 
- 
		3 votes2 answers450 viewsHow to concatenate into a string what was selected in a select MultipleHello. I have the following code: <select id="idselect" class="ui-corner-all ui-widget-content" multiple="multiple" name="idPosto" style="padding: 3px 4px;"> <option… 
- 
		3 votes2 answers555 viewsActivate function on another page after clicking anchorBasic example, by clicking on div1 of Pagina1 open the Pagina2 and change the background color, this is possible? Pagina1.html <body> <div> <a href="Pagina2.html#div1"… 
- 
		3 votes4 answers728 viewsDynamically assign functionExample: <body> <div class="box"> <div class="close"></div> </div> <div class="box"> <div class="close"></div> </div> <div class="box">… 
- 
		3 votes2 answers128 viewsCreate a register where the user increments a new checkbox to save a new information in MysqlI need to create a client register, where certain part of the registration the user has several checkbox that would use to store if the client has such documents, for example: [] RG [X] CPF []… 
- 
		3 votes3 answers593 viewsMove Cursor to Next Form FieldI have a form with various inputs, combos and etc. How can I make so that when the user selects an option in the combo the cursor already jumps to the next form field? Also make sure that when the… 
- 
		3 votes3 answers3002 viewsHow do I try to make a site compatible with major browsers?I don’t have much experience yet and wanted to know tips on what to do to increase the chances of a site being compatible with most browsers. 
- 
		3 votes1 answer1245 viewsHow do I check if an iframe has fully loadedSo I’m producing a site where I’m using iframes with other sites within it, see the image below: Code: <iframe width="100%" height="747px" src="www.site.com" id="iPrincipal" scrolling='no'… 
- 
		3 votes2 answers2498 viewsHow to do a google search with vba?I’m having difficulty setting up a VBA programming that does a google search. I can’t understand the HTML part. The idea is to identify the open internet explorer, go to the google page and search… 
- 
		3 votes2 answers1474 viewsHow to change the color of a tr according to the data of a td?I have some tr in the table that contains the tr-Child class and I would like to change their color when the value of the fourth column of that tr was > 0. This is possible with jquery ? had… 
- 
		3 votes1 answer618 viewsAlternate image in case of fallha when loadingI’m creating a script that randomly shows an instaram mosaic. I keep the original image Urls in a comic book, but it turns out that sometimes I have image Urls that don’t load because users have… 
- 
		3 votes2 answers1308 viewsHorizontal ruler with textI wonder how I could make a horizontal ruler in HTML or CSS with a text in its center. I only know the command <HR> HTML, but it looks like it won’t let me put a text in its center. Does… 
- 
		3 votes3 answers442 viewsDate 01 day of the month returns as lastWhen I enter day 01 as date, it returns to me the last day of the previous month. What is the reason? function myFunction() { var fromdate = new Date(document.getElementById('data_venc').value);… 
- 
		3 votes1 answer467 viewsInput Range that increases text sizeI’m trying to create a <input type="range"> which increases and/or decreases the size of the text as we move it left or right. So far so good, I was able to create this effect, but now I… 
- 
		3 votes3 answers2845 viewsHow to make    ?I have a div that will serve as a menu. The problem is I get these weird characters formatting the code and I didn’t put them there:      These characters are not… 
- 
		3 votes3 answers75169 viewsCentralize Divs - BootstrapWell, I divided the content part into two Ivs, col-Md-6, only they’re not centered in relation to the site, even though they’re in the center, they’re on the left side, leaving the right side a… 
- 
		3 votes4 answers8751 viewsChange color marker liHello! I wonder how I do to change the color of the marker ball <li> via CSS. From what I read on the Internet, so far I’ve only been able to do this using an image to replace the ball.… 
- 
		3 votes2 answers50 viewsHow to send hidden information through a form?I want to send information through a form, however I do not want it to appear in a field, I mean, I want to send information via post, but without it appearing in a input. How to do this?… 
- 
		3 votes3 answers81788 viewsOpen link in new tab without using target="_Blank" embedded in HTMLSetting I am optimizing a page where is displayed about 200 Images (very small does not need paging) partners, these images are wrapped in a tag <a> and all partner websites open in new tab… 
- 
		3 votes1 answer143 viewsUse of % in HTML filesI noticed that some web pages use %header% and %footer% to put the header and footer among other things (I saw this in themes for Opengame Panel), I did not understand how they work and how the… 
- 
		3 votes2 answers580 viewsLimit sidebar before footerI have the following code, but I have a footer of 650px, and when scrolling the page until the end the fixed block is on top of the footer, how could solve this problem? <script> $(function(){… 
- 
		3 votes1 answer109 viewsHow to put a string at the end of all Urls via PHP (Codeigniter)I’m using the Codeigniter framework to develop a system. But in the company where they are using, the pages are not updating right, it is as if the cache is full page and only when I give an F5 it… 
- 
		3 votes2 answers460 viewsDisplay HTML text in Twitter-Bootstrap popoverI created a Popover provided by Twitter-Bootstrap in this Popover a message is displayed formatted with tags HTML, but when I open the page the text that should be format in HTML is formatted as… 
- 
		3 votes1 answer3367 viewsGenerate menu and submenu with PHPSituation: I am building a menu with submenu of information that retrieves from the database, these data are categories and subcategories of products, this menu is ready and working but when there… 
- 
		3 votes1 answer1716 viewsHow to export a DIV with graphics to PDFDoes anyone have any javascript code that exports a graphic div to a file. PDF? 
- 
		3 votes2 answers4312 viewshow to reference external css in an HTML pageI’m learning html but I don’t know why I’m not getting calls a css file, which I created separately for my html. <html> <head> <meta charset="UTF-8"> <title> aula 5… 
- 
		3 votes2 answers649 viewsDoubt with the use of placeholder and onfocus in HTMLGuys, I’m creating a login screen where I want to use placeholder and onfocus for when the user clicks on the box disappear what is written (for example: "e-mail") and, if it erases everything… 
- 
		3 votes3 answers896 viewsHREF pointing to a buttonHow to point a HREF to a button of the type submit hidden? Hidden/invisible is because the button will be using the attribute hidden. htmlasked 9 years, 7 months ago Alfredo Lima 484
- 
		3 votes2 answers1433 viewsSwitch colors in table with PHPI have a code that displays a table in the ID's registered, and to decorate, the code makes it display 1 in 1 alternating colors between white and gray. COLOR -> White COLOR -> Grey COLOR… 
- 
		3 votes1 answer76 viewsDocument.querySelect in bodyHow to use code session document.querySelector to change/change the background image of a page <body>...</body> Ex: var imagem_lista = [… 
- 
		3 votes1 answer1299 viewsDate is not "blank" sql-srvI have a column in the type database date. When I change some date in a form php and leave blank the same instead of being blank she brings me this date of 1900-01-01. Below the input I use to… 
- 
		3 votes1 answer886 viewsAdditional GET parameters does not work with htaccessI am developing a dynamic web site m pages and url friendly, my problem is the following: When I put the id on the link to view the details of the property <a href="/imovel?id<echo… 
- 
		3 votes1 answer940 viewsHow to create and popular a table using jquery and database?I need to create an HTML table that populates the rows and columns with data coming from a specific table in my database. But I want that whenever a new data is inserted in this table of the… 
- 
		3 votes2 answers2982 viewsDigitalbush plugin for CNPJ and CPF masks in the same fieldI use the plugin below in my html fields to make the mask, I arose the need to put the mask cnpj and Cpf in the same fields, someone knows how to do this with this plugin?… 
- 
		3 votes4 answers176 viewsDo not show "overflow" arrowsI own a td with overflow. <td><div><?php echo $objProg->getagen(); ?></div></td> Css: td div { width:100%; height: 30px; overflow: auto; } With this CSS above it… 
- 
		3 votes1 answer1064 viewseffect :Hover and :active for imageAs you can see in the code below, I have 3 links with an image in each of them, which direct to a iframe below. These images are in grayscale, but when you mouse over them they are colored thanks to… 
- 
		3 votes1 answer499 viewsForce Javascript File Version UpdateI am developing an application in Angular2 and I am facing a problem which is updating the files JS. When I update the version sometimes the browser does not load the new file, it uses the old one.… 
- 
		3 votes1 answer5847 viewsHow to play a youtube video in an iframe? Refused to display '' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'I’m trying to play a youtube video on my website using iframe and is generating me the error that is in the title of the question. HTML: <div class="video-container"> <iframe… 
- 
		3 votes4 answers369 viewsDoubt in database query, error in queryI am doing a work on Java Web ticket sales system and I have a question in my code to bring this data example: In select I consult 3 fields of my table: origin, destination and date the problem that… 
- 
		3 votes3 answers1106 viewsButton diagonally only the left sideI have to make a button like this in CSS: I know I can do this by cutting out the image and putting the input as image but I wanted to do it in CSS. I found a way that ALMOST would help me that… 
- 
		3 votes4 answers835 viewsLoad page with Jquery eventneed a help. There’s a jQuery event that works the way I want it to. When I click, it executes the action. $("#SEN").click(function(){ $("#abre").show(); //ou fadeIn }); My intention is that, on… 
- 
		3 votes1 answer53 views
- 
		3 votes3 answers4238 viewsJquery take the first and second tag inside a divI’m trying to get the first and second element inside a div. But I’m not getting it. I’m looking to get the two inputs inside the shipping_table. And by clicking on the inputs they will make a… 
- 
		3 votes1 answer356 viewsAnchor Html + TableHello! Guys, I’m having a problem anchoring HTML within a website. Anchoring works normally when run on content visible on the site. The problem is that I would like to anchor a content within a… 
- 
		3 votes2 answers581 viewsWhat code and language does the input tag do what it does?The input tag is an html tag, i.e., markup language, however this tag performs instructions such as from a programming language. After all as the tag "input file", does to access the operating…