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
-
2
votes1
answer49
viewsUsing shapes with CSS
I would like to make a layout in this way, where the green part and the text is made with CSS I used Rotate and skew, but I could not do it. Could someone help me??…
-
2
votes1
answer687
views -
2
votes1
answer71
viewsSprite in SVG for Internet explorer
I read an article that explained how to put several SVG images in a single file. The final file looked like this: <?xml version="1.0" encoding="UTF-8"?> <svg version="1.1"…
-
2
votes1
answer54
viewsHow do I make the internal elements of ASIDE remain horizontal?
How do I make the internal elements of the ASIDE remain horizontally on the same line, next to each other without breaking when resizing the browser. CSS aside{ background-color: #222; margin-top:…
-
2
votes1
answer4115
viewsProblem in HTML checkbox size
I have a problem with the size of my checkboxes. I isolated ul with a class, so that this element did not take any characteristic of the other uls for which I had already defined a style. Would…
-
2
votes2
answers503
viewsValue of a text variable to select a Select item in javascript
I have a variable var text that receives predetermined values, and I want the value to select the field item select example: var texto = 'Volvo'; <select> <option…
-
2
votes2
answers2990
viewsHow to align a checkbox next to a label?
I would like to align my label with the checkbox using CSS, so that the label does not get below the checkbox. Here’s a print of how I’d like it to look: Mine is getting like this: body { display:…
-
2
votes0
answers223
viewsHow to check if the EJS is rspondendo
My app is Ode with express and ejs 1 - It is running index.html and not index.ejs 2 I am unable to pass the title or title parameter to the view neither in ejs nor in html app.js and index.ejs are…
-
2
votes2
answers76
viewsI would like a layout like this but my <aside> is not joining with the footer
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Example1</title> <style…
-
2
votes1
answer42
viewsInfinite text with jQuery
Would it be possible to define using jquery 3.3.1 a default character that cannot be removed from an input? ex: An input has a @, and only 20 letters and/or numbers may be added after this @, but…
-
2
votes3
answers883
viewsAllow Select PDF only in JS
I wonder how to do that when choosing the file to upload it filter by extension . html native pdf or by JS, Jquery. Using type="file" it brings all the files. <!DOCTYPE html> <html>…
-
2
votes2
answers235
viewsBackground-position is not working
Hey there, guys. I used the image-Replacement technique, tried to leave the image centralized using the background-position: center, but the image position remains unchanged. Would anyone know why…
-
2
votes4
answers380
viewscolumn-Count in css by breaking the line at the beginning of the column
I’m using column-Count in CSS to turn a text into 3 columns, so that’s okay. The problem is that I receive text with this Mysql specification: Lorem ipsum dolor sit amet, consectetur adipiscing…
-
2
votes2
answers1048
viewsChanging Width of a Modal
Hello, while trying to increase the width of a modal in bootstrap 4, I tried to change the width of the modal-lg through css as I saw in the English stack overflow. However, I’ve tried the same code…
-
2
votes1
answer1263
viewsWhat is the difference in storage between session, cookies and localstorage?
Where is the storage location of each of them? the local storage I heard it’s from html5 and it’s better that session and cookie, what the difference between them?…
-
2
votes1
answer4040
viewsjsPDF include css
How do I save this DIV, with css formatting, if it is easier to do with table, also can, because what I need is only show this DIV with value inside. It will be generated side by side. var doc = new…
-
2
votes1
answer1278
viewsHow to display the text in the datalist and not its value?
I made a built-in autocomplete in a field input without much difficulty, as shown below: <label>Professor</label> <input type="text" list="list-professor" name="professor_id">…
-
2
votes0
answers46
viewsIncompatibility in the browsers
I’m developing a site using html and css with bootstrap. I’ve noticed some small differences between one browser and another. But this week after using some svg images, in internet explorer it…
html5asked 6 years, 1 month ago Dori Tirre 29 -
2
votes5
answers7507
viewsChange function of onclick
Guys I’m having a question. I have a button: <button type="button" class="btn btn-success btn-xs" onclick="vincularContato($(this))"><span class="glyphicon…
-
2
votes2
answers67
viewsCan you declare a variable in Javascript so that it always has 2 decimal places?
The idea is not to have to convert the result to two decimal places every time. Example: var preco = 10.00 To show these decimal places, I have to put like this: $("#preco").html("R$ " +…
-
2
votes3
answers228
viewsDoubt Warning in Javascript
I was looking for a function to display an alert message to the user when he leaves the page and I located this one on the forum: <script> // Script de Alerta ao fechar a pagina...…
-
2
votes1
answer334
viewsError in html Django?
Good morning guys, I’m having a little problem referencing my variable in the html of Django. I’m a beginner in the web part, I’m trying to create a site for a project, so during the html…
-
2
votes2
answers678
viewsHow does this < base > HTML tag work?
hi would like to know how and what works this < base > HTML5 tag ?
-
2
votes2
answers1235
viewsEdit table elements
Is there any way to edit table elements created with a function JavaScript directly in the table, with a double click? I created a function that uses three inputs to print in the table their…
-
2
votes1
answer196
viewsHow to make a Hover box
Good evening, I saw on the following website https://cheftech.com.br/funcionalidades/ an interesting box Hover, it has a card format and turns when the mouse passes over, I researched about the…
-
2
votes2
answers1584
viewsWhat are http-equiv="Pragma" and http-equiv="Cache-Control" goals for?
I am using the W3C validator in an old project and it identified some errors in the following goals: <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta…
-
2
votes2
answers730
viewsScroll bar after using 100vh
I set a height to leave the part of header covering the entire screen. I used 100vh at the time and 100vw width, however when I added content below the header appeared the axle scroll bar x…
-
2
votes2
answers124
viewsIs there a 'native' way of the <form> tag to identify changing the original state of a form?
Assuming a form was loaded with 10 text fields with value 1, and the user modified one of these to 0. When submitting the form, there is something 'native' that identifies it had some change in the…
-
2
votes2
answers8065
viewsHow to make the background image transparent - image?
I want to make the background image transparent without affecting the other items of the body, only the image, but when I put the opacity the whole site becomes transparent, if in case there is no…
-
2
votes1
answer99
viewsHow to increase modal popup width in mobile
Good afternoon, I created a button that opens a modal in bostrap, inside it I inserted some tables. On the desktop works perfectly, but in mobile one of the tables "burst the modal". I wonder how to…
-
2
votes1
answer3967
views -
2
votes2
answers927
viewsFormat CSS table color
I wish my chart looked like this. but when adding the content to it it gets this look I’m not able to leave it as the top table. function listarProdutos(){ var conteudo="<table border='1'>";…
-
2
votes1
answer253
views -
2
votes1
answer388
viewsPick up music track information with JS
I’m making a music player using only HTML, CSS and Javascript. I can do everything except grab track information. I can get the length of the track and also the current time, the information I need…
-
2
votes1
answer430
viewsPopover inside a table does not work
I’m trying to put a Popover inside a row of a table that’s dynamically assembled according to the data coming from the database. I tested out of the table and it worked, but inside the table row no.…
-
2
votes4
answers281
viewsCSS - How to manipulate Div’s?
I’m doing div’s and I’m having a hard time lining up div’s the way I need to, like in the following picture : But it’s getting like this : #total { background-color: red; width: 300px; height:…
-
2
votes2
answers52
viewsHow you use < as text
I would like to know how I could use the symbol as text in my HTML code for example I would like to write < The Majestic > only between the symbols of major and minor.
-
2
votes2
answers333
viewsHow do I get a "spin" in CSS using the border of a div?
The animation that I want is basically when I give Hover in the fingerprint div the border is in loading for 3 seconds (an animation of type progressbar, starting from 0 and reaching the end of the…
-
2
votes1
answer69
viewsJavascript - Doubt when manipulating div’s values with variables
Good afternoon ! I have a question regarding the manipulation of div’s values... When dragging an image from the div fundo1 (blue) or the fundo2 (yellow) to div conteudo, would like the values…
-
2
votes1
answer465
viewsPutting a start time in Input date
Good afternoon, could you start the input date field with the time already filled ? in case I wanted to start with 23:59 and the date field to start same normal. Thank you
-
2
votes0
answers43
viewsIs the main document of style sheets defined in HTML Imports obsolete?
I’m realizing that all the sites are getting this message on console: [Deprecation] Styling master Document from stylesheets defined in HTML Imports is deprecated, and is Planned to be Removed in…
html5asked 7 years, 1 month ago Lucas de Carvalho 6,427 -
2
votes1
answer96
viewsJavascript - Dynamically HTML elements
Is creating HTML elements dynamically by JAVASCRIPT a bad practice? For example: var img = document.createElement('img') img.setAttribute('id', 'foto')…
-
2
votes1
answer2485
viewsLabel and input on the same line
Hello, I am using bootstrap to build my html page and am having a problem with form-control. I would like my label and my input to be on the same line, close to each other, but the most I could get…
-
2
votes2
answers171
viewsHow to change the type of an input through events?
I’m trying to use the input with type="date" as follows: When you’re in GRID XS.. MD will use the select native to the apparatus When you’re in GRID LG.. XL will use the input pattern I tried to do…
-
2
votes0
answers114
viewsBootstrap 4 error in IE11
I created this site on Bootstrap 4. And it works on all browsers perfectly. But when I open it in IE 11 it looks like this: The code I’m using is this: .big-table { margin: 10px 0; overflow-x:…
-
2
votes1
answer230
viewsHow to add a Whatsapp link to a contact
In my datatable there is a column called contacts, I want to add a link so that when the user clicks there, take the number for the variable and call with the Whatsapp link <th><?=…
-
2
votes1
answer1845
viewsSVG image does not appear
I’m trying to upload an SVG image as background but it doesn’t appear. When I’m in the live preview of VS Code it works normally, but when I open index.html directly from the browser it just doesn’t…
-
2
votes2
answers412
viewsHow can I style the <select> arrow in Firefox?
I have this little problem. I have a layout that needs to be exactly as they passed me, within them the definitions of the type text and select. In Google Chrome, everything worked beautifully,…
-
2
votes1
answer500
viewsI am unable to load the image that shows error using jQuery
Today’s exercise was to load an image while error on the other image. First I tried using the function .erro(), but found that it was discontinued in version 3.0. Then I tested the function .on(),…
-
2
votes1
answer900
viewsAdaptive border according to text size
What is the correct way to do this is the border below the text? I am currently doing it this way, but if the text is too large and breaks to the bottom line the border does not adapt to the size…