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
-
6
votes2
answers1731
viewsHow to make a fixed and retractable footer similar to the Economy page of the Earth portal?
I have the idea of building a fixed footer on the page similar to that of the portal Earth Economy. Such functionality will allow me to expose a chat in this space. I like the Earth solution because…
-
6
votes2
answers2434
viewsHow do I get the position of an element that uses the Transform CSS property?
Imagine I have a popup that’s centered on transform:translateX(-50%) translateY(-50%) (if you have doubt about this solution, you can see more about it here, adapted of these answers). So far so…
-
6
votes2
answers3697
viewsHow to recover values of fields loaded with jQuery
Hello, I recently ran into a problem loading div content dynamically using jQuery, but it turns out that when I upload the content to that div, I can’t recover the values that are sent from it. The…
-
6
votes3
answers694
viewsScale div as image
I’m making a list of items, but this has some challenges: Responsive; Title may have more than one line; Sometimes I need to show an icon with a background color instead of the full image. Here is a…
-
6
votes3
answers4918
viewsCreate table html and zebrar the same
I wonder, how do I zebrar an HTML table? It has only two columns and information is populated dynamically from the controller and BD.
-
6
votes2
answers25999
viewsHow to position one div under another with varying sizes?
I have the following situation: I search the database results and display them this way <div style='background-color:#fff;width:260px; margin-left:5px;margin-top:5px;float:left;'> texto…
-
6
votes3
answers13356
viewsHow to fix the position of an element inside a div with scroll( With css )
It is possible to fix an element( div, img, p ) in a div with scroll and with position:relative and using only css? *Currently reposition the div using the function $('elemento').scroll() and…
-
6
votes2
answers6008
viewsHow do I make the browser not store image caching with HTML or PHP?
I am creating a web page that is practically only image, every day I change the images of the page but their name remains the same. The browser is storing a lot of cache and each time I update the…
-
6
votes3
answers977
viewsHow to make Divs with same height and 100% height
I need the three Ivs I have to be the same height, and in case the height isn’t 100%, turn 100%. Example: I have 3 Ivs <div class="menuEsquerdo"></div> <div…
-
6
votes1
answer468
viewsHow to change the window.Location of a frame
I was wondering if it is possible to insert a target here: window.location='www.google.com'; I don’t want to open on a new page, otherwise I would use window.open. I want to use a target="topFrame"…
-
6
votes2
answers2346
viewsCode indentation spacing standardization
Used Sublime Text for the front-end, I already had to open some old codes and I had problem with indentation. I saw that it was only to modify the tab size. I wonder if there is a Tab Size standard…
htmlasked 10 years, 6 months ago Felipe Viero Goulart 3,693 -
6
votes2
answers1104
viewsWhat is the best way to upload files with Ajax?
I could take a code on the Internet paste here and try an answer but I prefer that help me with the logic and programming of a script to upload images in Ajax. I don’t know how to start, I’m a…
-
6
votes2
answers1472
viewsDiscontinuation of the <center> tag
I know it seems like a lot, maybe it’s really a lot of lack of knowledge, but I’ve done some research and I haven’t found anything that would actually convince me. Does anyone have any, or knows why…
-
6
votes1
answer1063
viewsHow do I make a checkbox table (Access Level Table) responsive?
I don’t know if anyone has ever come across this type of structure. But here’s the thing, I need to leave this image table below responsive. Has anyone seen anything, knows how, or has any idea how…
-
6
votes2
answers1334
viewsHow to automatically scroll to the top when viewing the page footer?
I’m making a site, which has some animations, and when arriving at the bottom of the site for the first time, should trigger an event where the page goes back to the top, but in the following times…
-
6
votes3
answers2122
viewsIs it possible to create a Javascript database?
How to create a simple database without using a server? I believe the answer would be no, but check the following: I’m at work and I don’t have access to the databases or even the servers. This way…
-
6
votes2
answers3966
viewsHow to send checkbox data to a mysql query?
I don’t know how to start this whole process of sending multiple data for a query in the database. I always send an item from each guys but I never sent several items of the same guy. The image…
-
6
votes1
answer1641
viewsHow to Save Colors in Database
I have a simple form, and a TYPE=color. These colors are passed in hexadecimal, but I cannot save in the bank. It gives the following error: Warning: pg_query(): Query failed: ERROR: Invalid input…
-
6
votes2
answers9366
viewsHow to split an image into multiple parts with link?
I would like to know how to split an image that can have multiple parts so that I can define the number of parts, and assign a different link to each part. Bonus: If the parts can assume any…
-
6
votes1
answer925
viewsSubtituition of special characters by ASCII codes
I’m getting a site buildable in charset ISO and when I step to UTF-8 the special characters appear on the screen with that diamond and a question mark, then in addition to switching from charset I…
-
6
votes1
answer1438
viewsHow to make an image "loose" inside a div
I need to leave a "loose" image inside a div on my mobile site. A div has fixed dimensions but the image is much larger, so it would have to be something similar to iframe, however, without scroll…
-
6
votes2
answers145
viewsIs it necessary to use metatags on administration pages?
It is necessary to have the meta-tags "Description", "Keywords" on site administration pages, as these will not be indexed?
-
6
votes1
answer708
viewsconfigure "search Cancel" button position in input type=search in Safari 7
I have a input[type=search] with padding. How I want to have the same style in different browsers I used -webkit-appearance: none; but in Safari 7 (Vericks at least) the reset/reset button of the…
-
6
votes4
answers1483
viewsRelease link after completing form
I’m a beginner in Javascript/jQuery and I’m wondering how to release a link right after all inputs are filled, otherwise it stays locked: Follows HTML: <form id="formulario">…
-
6
votes2
answers1261
viewsIs there any way to detect that an attribute has been changed in HTML?
I wonder if there is a way to check by javascript whether an attribute of an element has been changed or not. For example: If I have one input, I place in it the attribute required, and someone goes…
-
6
votes1
answer2499
viewsHow do you always get the last video from a Youtube channel?
I have a div <div class="player"></div> and inside it, I want the last video posted on a channel to always appear. I have this structure in jQuery, but I can’t get it to pull only 1.…
-
6
votes3
answers27524
viewsPlace button side by side
Hello wanted to have a back button and another to go to analysis, when I go to see the site they always appear on one the bottom and the other on top. My code is: <a…
-
6
votes3
answers3850
viewsElements with Css cut corners
I need to make elements with cut corners, like these squares. How can I do ?
-
6
votes1
answer167
viewsProblem with links in the ckeditor
When I add one link of the kind www.google.com?var=1&var=2&var=3 in the Ckeditor it automatically inserts & leaving the link as follows: www.google.com?var=1&var=2&var=3…
-
6
votes4
answers1452
viewsIs there an event that captures mundanes the size of an HTML element?
I wonder if there is an event that captures changes in the size of an HTML element. For example, a div with 5000px height 4800px and the onresize() javascript does not fire. Is there an event that…
-
6
votes3
answers3224
viewsHow big is the line break?
Hi, I was wondering if there is a default size for line breaking in HTML (<br>), whether it depends on the size of the font being used and how to change it.
-
6
votes1
answer378
views -
6
votes2
answers1259
views"Floating" sidebar inside an element when scrolling
I have a layout Bootstrap with a right sidebar and I need this "turn" (up/down) when doing scroll, but not above the header and footer. just "float" inside the div[role=main] My layout: My code:…
-
6
votes3
answers1436
viewsInformation when Hovering Mouse in Photo
Does anyone know how to put a description in the photo, with a black half-transparent background? As with many blogs, one example is rihanna’s website. Something like a Timeline or a blog with…
-
6
votes2
answers2295
viewsHow to find CSS images and styles that are not used on a website?
When developing large-scale websites or resuming other people’s projects where there are hundreds or thousands of lines of CSS styles, it can become complicated to review and clear code to remove…
-
6
votes1
answer834
viewsProblem with clickable area of links in a diagonal layout
I have the following problem: I have a ul and in each li there is a link with display block and defined height and width. I called the three links from #a1, #a2 and #a3 (in fact, the styles are…
-
6
votes0
answers112
viewsBootstrap v2.3.2 grid does not work in IE9
I have a grid in Bootstrap v2.3.2, which I’m trying to fix to run on IE9. On the official page the grids show correctly in IE9, so I expected the same result. I saw some answers with Respond.js and…
-
6
votes2
answers598
viewsCreate HTML Blocks in Wordpress and call them in the Post or Page
We have a real estate website where we use ACF (Advanced Custom Fields) to better manage real estate pages. One of the fields is the Price Chart. A price list of a condominium serves for several…
-
6
votes2
answers262
viewsInsert data into database according to number of checkboxes
I have a form where I have fields with chekboxes and I want to know if it is possible to do so many inserts as selected fields. That is if the user selects 4 checkboxes do 4 inserts, is possible? If…
-
6
votes1
answer21883
viewsHow to capture parameters passed by the URL using javascript?
How to capture parameters passed by URL (GET method) using javascript? it is also possible to capture parameters passed via POST method?
-
6
votes1
answer1356
viewsAccess html objects in code in Asp.net c#
I have a page that contains objects Asp.net and html. How do I access design html objects in . Cs with C# ?
-
6
votes3
answers11729
viewsInsert line break in field text into database
I have a table with a field type text, the field stores a string imported via archive .csv, the same was inserted without line break and I’m trying to insert it, I was able to identify that the line…
-
6
votes1
answer2922
viewsHow to make a page load time progress bar?
How to make a progress bar that loads as the page loads? Like on this site here: http://sinalverdecaxias.com/ I saw an example in codepen.io, is kind of like this, I don’t know what this progress…
-
6
votes3
answers954
viewsVertical slider navigation including highlight thumbnails
There is a slider here on this website that has a vertical navigation that is located on the right side, which includes the thumbnails of the previous slides and also of the following slides. I’d…
-
6
votes1
answer1761
viewsHow to validate format and compare two dates to enable buttons
I am using a script* to enable a button when two validations are made. The first one checks the format, and the second one if the initial date is lower than the final one, but I’m having some…
-
6
votes1
answer688
viewsHow to print music sheet music in PDF?
I’m developing a website for a church where music scores will be available on a particular part of the website for the orchestra members, and I have no idea how to do that. I was thinking of using…
-
6
votes2
answers970
viewsInput radio that looks checkbox?
I need to do a quiz, and the alternatives are radio inputs, but it looks like custom checkbox. What’s the best way to do that? .tabs-below > .nav-tabs, .tabs-right > .nav-tabs, .tabs-left >…
-
6
votes3
answers2006
viewsShow hidden div according to the value of a Dropdown
I have no knowledge of javascript and would like to know how to make a div appear according to a value of a capo dropdown. Example: imagine a dropdown with values from 1 to 10. if we choose a note…
-
6
votes1
answer469
viewsHow to run a web application on IIS without hosting the source code on the machine?
I have developed a web application (Asp.net, c#, javascript , etc) for a client. The idea is to mature this application, and turn it into a product. The question is, how can I run my web application…
-
6
votes3
answers2663
viewsHow to copy to clipboard without using flash?
google Chrome is displaying a message from "This site uses plug-in (Adobe Flash Player) that will soon be no longer compatible". Is there any way to do it without Flash? How? And something that…