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
-
5
votes3
answers165
viewsCatching value created at runtime
I’m trying to get a value contained in a tag (span) located in another domain using PHP and Javascript. There are cases where I can get the required value but mostly the returned value is null. I…
-
5
votes1
answer526
viewsConvert HTML menu to Wordpress
For the first time I am working on converting an HTML template to Wordpress. I’m having some difficulties and the one that’s bothering me the most is this: I have an HTML menu and would like to…
-
5
votes1
answer2701
viewsJavascript: how to count the characters of an html text?
The problem: I have formatted html text and I need to count how many characters (ringtones for journalists) I have. I will use Javascript. Some solutions came to mind, but as this will be done…
-
5
votes3
answers198
viewsHow to humanize javascript dates
Given a date ex: 24/05/1982, how to transform into years, months and days? In the above example it would be converted into 33 years 1 month and 1 day. The idea is to do everything in Javascript.…
-
5
votes3
answers632
viewsReplacement for TAG <center>
I have the following form: .table { max-width: 500px; border-collapse: collapse; font-size: 12; width: 320px; text-align: center; box-shadow: 2px 2px 2px 2px #aaa; } .table tr td{ padding: 8px 8px…
-
5
votes2
answers5706
viewsPassword check
Hello, I’m starting to learn Javascript and I’m not being able to validate my code if there are 3 characters in uppercase, 2 numbers and 1 special character in my input. I would like to know what I…
-
5
votes2
answers2726
viewsSend Whatsapp message by link on the site
I would like to know how to send a message by a link to a certain number. I have already managed to Android, but for iPhone doesn’t work. Link: <a…
-
5
votes1
answer1083
viewsSend email with signature using an image
Hello! I have a function in a file of a wordpress site that fires a confirmation email when a person fills in a form. However I would like to put an image as a signature of this email. but when I…
-
5
votes2
answers694
viewsHow to create a drawing in open book format and with content inside?
I need a drawing of an open book with contents inside, as the image below: ONLY WITH CSS!…
-
5
votes3
answers29883
viewsDIV/IMG with blurred/blurred background
Make the bottom of a <img> or <div> is transparent like the iPhone design - blurred, blurred -, but only with CSS.
-
5
votes2
answers6866
viewsFix and change color in menu depending on scroll
Good afternoon I would like to know if there is any way to change the color of a floating menu in a one page template depending on the section of the page where we are. As in this example:…
-
5
votes2
answers5145
viewsPass a function parameter according to the value clicked with Javascript
I need to pass the value of a function according to the clicked value of it. There are 3 Divs, each one is a gallery. I need that when clicking on the "see more" option, open a page with all the…
-
5
votes3
answers605
viewsMetro style checkbox
I need to change my checkbox to be identical to the following image: should look like this when it is marked, when it is not marked, remove the whole edge and figure at the end. I did not enter code…
-
5
votes3
answers10234
viewsborder-Radius in table does not work CSS
I’m trying to put a Radius border on my table so that the four tips of it are rounded. If I touch the tr/th/td border-Radius it will change the radius of the ballots and not only those of the table,…
-
5
votes3
answers15590
viewsHow to call a JS variable for an H1 HTML
I got this little FIDDLE to exemplify my problem. HTML <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> </ul>…
-
5
votes2
answers138
viewsMake jQuery-Tools Handle accompany a team
I use the jQuery-Tools to create a custom effect scroll in a div as in the following example: "use strict"; var id_label_ms = document.getElementById("count_label_ms"); var range =…
-
5
votes1
answer1015
viewsWhy is it recommended to place Javascript codes at the end of the body tag scope?
Do you have any rules regarding the use of scripts in tag <head>? W3C did not make the rules of use very clear.
-
5
votes2
answers1913
viewsRemove space between span and input
I want to know how I can remove these spaces: So that the spanand the inputstay together, like here: My CSS: input, textarea { background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #C9C9C9;…
-
5
votes3
answers3929
viewspick element after being inserted into DOM with jQuery Append
My page has a selectbox, with some segments, when a user selects a segment, through the event on change jQuery, he takes the value of <option> selected and inserts an Hidden input with the…
-
5
votes1
answer162
viewsHow to create a textarea with multi columns (like a newspaper?)
There is a way to create a textarea that its display form is in multi columns?. I have several fields in textarea for the user to be able to make edits, but I need these textareas to be displayed in…
-
5
votes2
answers66
viewsShow or hide a pregnancy option, whenever the user selects in the registration that is female
How do I make a patient registration page appear or hide an option to tell if the patient is pregnant or not. The option would only appear if the user checked the Female option. The image below…
-
5
votes2
answers1005
viewsWhen selecting option displays div with
I have a doubt, as I know nothing of PHP, i would like someone to help me how to assemble or implement a Jquery that I found. In my case there are 2 selects, one who would be called Estado and…
-
5
votes4
answers4010
views - This error appears between the <body> and gives space difference
How do I remove this error? Is causing spacing in the site header.…
htmlasked 9 years, 3 months ago Sr. André Baill 6,946 -
5
votes3
answers1909
viewsCapture Input ID
Anyone knows how I do to capture an input id and send it to the database? EXAMPLE I have this input: <input type="checkbox" name="adicional" id="Leite Ninho" value="2.00"> It has the name I…
-
5
votes1
answer5315
viewsHow to prevent text from being selected using CSS
How to prevent user-selected text using a CSS rule?
-
5
votes5
answers269
viewsChanging text in several different places of the HTML page
I’m thinking of developing a i18n for an application. My idea is: there is a text #i18n_label_name at a certain place on the page and #i18n_label_contact elsewhere. Question: What is the most…
-
5
votes2
answers998
viewsRegular expression, taking values from HTML
I have an HTML that I need to remove values from a set of <li>. This is the HTML part: <ul id="minhas-tags"> <li><em>Tagged: </em></li> <li><a…
-
5
votes6
answers1100
viewsSame number of characters in password after md5
I’m doing a process of opening a modal and registering a user. User password is modified to md5(); After this the password is with 32 caracteres. When user will load user data to make an update. If…
-
5
votes3
answers895
views -
5
votes1
answer12530
viewsHow to compare two dates in Javascript or jQuery
I’m trying to compare two dates from fields text, turning them into objects Date, as follows (the first function is to format the field input with XX/XX/XXXX): function formatar(mascara, documento){…
-
5
votes1
answer723
viewsProblem loading image in HTML (Performance)
While the entire DOM parser process is blocked, this prevents the rendering of the rest of the page. And this if applied to each page script tag. A way that I found to "circumvent" this problem was…
-
5
votes1
answer157
viewsHow to create a page that has different information for each type of user?
is my first question here at the Stack overflow. Well, I would like to know how to structure a php page to display different information to different users, because I don’t want to have more than…
-
5
votes1
answer399
viewsIs it a good idea to insert SVG inline files?
I’ve been going through some websites and the ones that use SVG logos usually put them in a file separately. This brings the practicality of when you change the file, on all pages it changes, but…
-
5
votes2
answers301
views -
5
votes1
answer1012
viewsHow to implement drag-and-drop on an html page?
I am a Delphi programmer, but I would like to implement an html page with the drag and drop function of a page element. I’m creating an avatar mount page, but I’d like to leave the accessories…
-
5
votes2
answers1166
views-ms-flexbox and flexbox do not work in Internet Explorer
I’m having trouble identifying what I should do to fix this mistake - I recently used the CSS Progress Wizard, it works perfectly on google Chrome and other browsers: But when I visualize in…
-
5
votes2
answers1465
viewsHow to make source responsive?
How to make text size responsive and fit different screen sizes? I tried using units em but it didn’t help. I’ve tried using Media Querys: EX: @media(max-width:768px){font-size:1.5em} I’ve tried…
-
5
votes1
answer5204
viewsHow to create a Radio button with image?
How can I make a Radio Button turn into an Image? I need to make an image gallery inside a form to, when clicking on the image would be selecting a radio button as in the image below:…
-
5
votes2
answers1859
viewsIs there a maximum size limit for an HTML page?
Note: This question is not on code optimization. It is known that browsers have a size limit for a URI. There is some kind of limit for requesting/rendering an HTML file? Giving a simple example,…
-
5
votes1
answer1588
viewsCalling Asp.net application via HTML page
I have an app that I can’t change the source code that generates purchase orders. For each request an html is stored with the request data. I want to implement this html with the following: When…
-
5
votes1
answer182
viewsCan you calculate the diagonal on canvas?
I need to draw a square with Canvas in an image. This image comes from the database, where it has different dimensions. I’m able to draw the square in the center of the image, but if the image is…
-
5
votes2
answers388
viewsWill Websql really be discontinued?
I’m having a lot of problems trying to run a program developed in HTML 5, Javascript, Ajax, JSON, Indexeddb, Mysql, PHP, along with the Intel XDK IDE. The program is quite simple it captures…
-
5
votes3
answers2757
viewsDetect if a particular page opens within an IFRAME
I would like to know whether it is possible to detect the following situation: We have an intranet (from a board) that is loaded through a given address: http:Intr.abcdabcd.abc.br We have a global…
-
5
votes3
answers3201
viewsGet class name of an object
I want to get the class name of an SVG element. I have the following example, but do not get its name: class_obj = document.getElementbyId("id").className; console.log(class_obj); jsfiddle example:…
-
5
votes2
answers3496
viewsText that is written slowly, erases and writes another
I would like the script for a text that is written slowly. I found it easily here in Sopt, the link is this: Text That Is Typed Slowly? However, I would like an increment that I didn’t find. Next:…
-
5
votes1
answer307
viewsBlock old browsers
Is there any way to block browsers ancient? To be more direct: do not leave these browsers, such as IE 6 access my website? I did some research on internet and found no source on this subject.…
-
5
votes5
answers3255
viewsCarrousel in php and mysql
I have an "upload of files" and I needed to show them on a Carousel. The image path is stored in the database and the images in a folder, of course. I have the following code: <div…
-
5
votes1
answer102
viewsWhat is this script running?
I am beginner in the area and found this file inside my server : <?php /* Script: Mass Deface Script */ echo "<center><textarea rows='10' cols='100'>"; $defaceurl =…
-
5
votes2
answers211
viewsPHP - Bring the result of a table according to the most recent message from another table?
So.. I have 3 table: user: | ID | NOME | SOBRENOME | | 01 | Igor | Ferreira | | 02 | João | Henrique | | 03 | Rose | Beltão | following: | ID | user1_id | user2_id | | 01 | 01 | 02 | User 1 >…
-
5
votes2
answers1919
viewsGoogle Maps with multiple markers coming from the database
I have a code where he takes the longitude and latitude of where you are and puts it on a map. I need to make this map show all the latitudes and longitudes of the database with markers at each of…