Most voted "html5" questions
HTML5 (Hypertext Markup Language, version 5) is a generic term for recent web technologies (HTML, CSS, and Javascript). It is also the latest iteration of the HTML Recommendation scheduled for 2014, and featuring new elements and Apis.
Learn more…3,881 questions
Sort by count of
-
3
votes3
answers111
viewsHow to disable the "See Details" button in the image preview?
I’m using: http://plugins.krajee.com/file-input Here is an example in jsfidde : https://jsfiddle.net/DTcHh/30000/ How to disable this button: Here is the code: HTML: <input id="input-id"…
-
3
votes0
answers62
viewsBlock browser access without Html5 support
I have researched and found some ways to "block" access from specific browsers, but would have some way to do this with everyone who does not have Html5 support?
-
3
votes1
answer229
viewsValidate dynamic table sums in Javascript
I have a question about validating sums of dynamic tables. I have two inputs one with the value with Iva and the other of the value without Iva. I have a dynamic table where I enter billing periods.…
-
3
votes1
answer1140
viewsCentralize loading on the page
I’m riding a load and I’m having 2 problems. How to leave the div circle that contains the animation in the vertical and horizontal center of the screen. 2º How to leave the tips of the load…
-
3
votes3
answers3242
viewsLoad HTML from another HTML
I would ask for help in loading inside my main HTML file external files from 2 other HTML pages Below follows the Nav <!DOCTYPE html> <html lang="pt-br"> <head> <meta…
-
3
votes4
answers1314
viewsPosition div below other after browser decrease
My question is how to position the black div below the red when the browser is resized? .teste2 { float:right; width: 200px; height: 100px; margin-top: -100px; background-color:black; } #teste {…
-
3
votes1
answer253
viewsHow to upload information from a BD to the form?
Hello, everyone and good afternoon! I will explain my problem and point out that I would like you to solve only with PHP, but almost sure I need another language. I would like in a form, in a tag…
-
3
votes1
answer85
viewsWhat tag do you put the form in?
I created a page and within this page has a form. So far, everything ok. But I put the form inside that tag? Semantically speaking, within a Section, an article, a Section and an article, or a div?…
-
3
votes1
answer41
viewsSemantics for HTML5 sub-pages
It would be correct to use the code as below? <article> ... <section> <article>...</article> <article>...</article> <article>...</article>…
-
3
votes1
answer251
viewsHow to align the dropdown menu with the text?
I’m having trouble lining up my menu dropdown, the entire form and including the text that should accompany the menu dropdown this right. Any tips? Ex. Result obtained: |dropdown| Choose an…
-
3
votes1
answer308
viewsBrowser talk to user press key
I’m doing a project aimed at blind people, I wanted to know if there is any way to make the browser speak by voice "Hit the ENTER key to talk", I’m using Speechrecognition to recognize the talk of…
-
3
votes3
answers1889
viewsmark a checkbox and uncheck the others
According to the Snippet below, when clicking on a checkbox, the others should be unchecked, but it only happens if you click them from right to left, if I click them from left to right, nothing…
-
3
votes2
answers3227
viewsHow to access mobile camera via Web Site?
It has to access the camera of the mobile phone in a web system(Não é app) using javascript? What is the solution to this?
-
3
votes1
answer678
viewshow to make a background Pattern with CSS?
I was looking at the bootstrap templates and this template caught my attention because its background is done with the technique Pattern, ie it has only an image that repeats itself "perfectly"…
-
3
votes2
answers360
viewsWhy doesn’t my . svg work in Firefox?
My . svg is not loaded in Firefox, in Chrome it works normal. I am using css to do this, with the property background: url('data:image/svg+xml...). I made a Jsfiddle for example, containing all the…
-
3
votes1
answer65
viewsWhat are CSS Feature Queries? How do you use them and what are they for?
I’ve been hearing the term a lot Feature Queries when referring to CSS3. But what are they and what are they for Feature Queries? How this applies in the CSS of projects?…
-
3
votes1
answer1777
viewsHow to delete a specific object in HTML5 canvas?
Good, for example I have two rectangles drawn on the canvas: const canvas = document.getElementById('canvas') const context = canvas.getContext('2d'); context.fillRect(20,20,150,100);…
-
3
votes1
answer50
viewsHow do I change the color of INPUT when it exceeds a certain number of characters?
I have this CSS of INPUT, and I would like it to change the background color when it exceeds 70 characters. CSS .imv-frm-campo{ width: 95%; font-size: 20px; padding: 10px; box-sizing: border-box;…
-
3
votes2
answers531
viewsHow to Drag and Drop button in a textarea?
I am creating an email editor and it will have some macros, I made some examples of drag and drop using images, I wonder if it is possible, or even if it is interesting to use buttons to be…
-
3
votes2
answers890
viewsCan I use header/footer tags inside the main/Section tag?
I’d like to know if you can, within the element <main>, or <section>, put the tags <header> and <footer>. For example: <section> <header>topo da…
-
3
votes1
answer67
viewsIs it correct to repeat the itemprop attribute?
I wish I could repeat myself itemprop this way is wrong. Actually, I want to show 3 products and put the respective itemprop of each situation: <img class="card-img-top"…
-
3
votes1
answer599
viewsFlexbox + CSS GRID
People would like to know if there is any possibility of using Cssgrid with Flexbox. display:grid; display:flex; I mean using both in the same project, if not, which one would you recommend me to…
-
3
votes2
answers1320
viewsLimit characters and display the amount of characters
Good guys I got one input for the user to put the name, and below the input I have both typed characters and the maximum amount (0/50). I wish that every time he typed himself increases the typed…
-
3
votes1
answer242
viewsPin icon to bottom right corner using Materialize
First time I’m using the materialize. I would like to know how to fix an icon in the lower right corner. <a class="btn-floating btn-large cyan pulse right"><i…
-
3
votes1
answer27
viewsHow to specify the search engines to update an HTML document?
According to MDN using the tag <time></time> attribute-ridden datetime <time datetime="yyy-mm-dd hh:mm:ss"></time>, allows search engines to know the document’s creation…
-
3
votes1
answer973
viewsWhat is a "definition list" and how are these tags used <DL>, <DT> and <DD>?
As far as I knew in HTML there were only two types of lists. Sorted Lists <ol><li> and Unordered List <ul><li>. But apparently there is a third type of list, which is the…
-
3
votes1
answer1456
viewsSection with two colors
I’m having a hard time doing a two-color Section (one occupying 70% of the Section and the other the remaining 30%), I wonder how I can do this follow the example: suggestions?…
-
3
votes1
answer390
viewsDelete table row by checkbox
I am trying to use a checkbox to delete several rows from a table created by Avascript with input information. However I do not know how to make it recognize the td to can perform the delete…
-
3
votes2
answers1224
views -
3
votes3
answers2288
viewsHow do I open a floating div tooltip style by clicking an input?
Hello. I got a problem I can’t fix. I have a text input and I needed when I clicked on it to open a window or floating div underneath it like a tooltip but with HTML inside it. How can I make that…
-
3
votes1
answer225
viewsDrag and Drop : When dropping image inside another image it disappears
Good afternoon, I’m making a Drag and Drop code and when dropping an image into another image, it simply disappears In the example of this site the images are correctly one on top of the others…
-
3
votes2
answers179
viewsSpan within Headings H1...H6
It is semantically incorrect to put a span inside a Heading? Ex: <h1>Isso é <span>verdade</span></h1>
-
3
votes1
answer146
viewsclick on span and mark checkbox
I’m trying to make sure that when clicking on the span, the checkbox is marked, but it seems to be in error. Help me please. <input type="checkbox" id="remember_pass"> <span…
-
3
votes1
answer294
viewsCSS recognizing Javascript variables within html, is it possible?
For example, I have a script that picks up mouse coordinates: function posicaoMouse(ev){ ev.preventDefault(); var x = ev.clientX; var y = ev.clientY; console.log(x); console.log(y); } And I would…
-
3
votes1
answer229
viewsBlack screen in youtube EMBED loop
I put a background video on the login screen of my page but when the video comes to an end it stays with the black screen for 3 seconds until restarting the video as I do for it to do it instantly ?…
-
3
votes3
answers306
viewsHow to remove internal dashes from a <SELECT> in Firefox
Once again I just realized that Firefox is putting "additional stylings" in my inputs. This time, in the <select>, when I click on it to select an option, there is always an internal dashed:…
-
3
votes2
answers67
viewsIncorrect centering of button
I have a button within a div which I cannot center on. By means of margin-left I can do this, but to treat the same in the responsiveness is very massante. Code of button together with the div:…
-
3
votes3
answers307
viewsButton and span logic from CSS
I have a button and a span from the following code: <div id="onestepcheckout-place-order"> <button type="button" class="button btn-proceed-checkout btn-checkout" title="<?php echo…
-
3
votes4
answers2171
viewsCSS, Bootstrap4 Cards Side by Side
good morning! All right? I am having difficulties with bootstrap 4, when using cards I would like them to line up side by side, but they are below each other and I do not know how to leave them side…
-
3
votes2
answers181
viewsCan I have multiple thead and tbody inside a single table in HTML5?
I wanted to make a table of this, but I can only have a table tag and I wanted to know if it is semantically right to put several thead and tbody within a single table.…
html5asked 4 years, 1 month ago Lucas Java 39 -
3
votes5
answers545
viewsDifferent format for display and return (bootstrap-datepicker)
I have the following calendar: Início do período: <input type="text" id="calendarioIni" name="dataInicio"> $(document).ready(function() { var dataIni =…
-
3
votes2
answers507
viewsHow to make a div Scale without changing the child elements?
How do I make the content opacity and size within paragraphs not change when the transition occurs?! #quadrados{ padding-top: 2vw; overflow: hidden; width: 100%; height: 30.5vw;…
-
3
votes3
answers631
viewsLimit values for input text
I have two inputs and I need the term input value to be greater than the start input value. Both are text type. Someone could help me ? <div class="w3-half"> <label>Data de…
-
3
votes1
answer390
viewsDIV exiting the screen
I’ve seen several times a div kind of coming off the screen, and as I won’t be able to explain it properly, I’ll show you a picture of an example: I figured it would be box-shadow, but I couldn’t do…
-
3
votes1
answer168
viewsIcon inside HTML data-text attribute
The doubt may be silly but I really don’t know how to do it. It is possible to escape an awesomefonts icon (already installed in the project) inside an HTML attribute, in this case the data-text?…
-
3
votes1
answer565
viewsHow to not let a CSS Animation stop even after the mouse has left the element
I have a div who has an animation in :hover, but if the user takes the mouse away from the div before the animation ends she cuts in half and does not finish. I tried to make a "spot light" effect…
-
3
votes1
answer31
viewsDynamic checkbox with unwanted behavior
I have these checkboxes, the idea is to be dynamic, appear only the organs that refer to the entity, but has a detail that I would like to correct: before selecting something in "Entity" all options…
-
3
votes3
answers4043
viewsField Percentage in HTML
good morning! I am developing a restful application, using angular 4, components of Primeng (version 5), HTML 5 and CSS 3 on the front. I came across a problem that apparently can be considered…
-
3
votes1
answer2198
viewsCalling page by HREF and pressing in IFRAME the id of another page
People, See if this situation is possible in HTML5 and CSS: I have three files: index.html html services. desc_servicos.html Note: all files inside the same folder. In the archive index.html there…
-
3
votes3
answers1739
viewsCleaning Up Form Fields
I have the following encoding and would like to clear the form of all fields that have the same name. But I don’t know why you don’t clear the fields PS: What properties of input text I can use for…