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
answer356
viewsTo update the output value in real time
Hello, in an apostille I’m reading you have an excerpt to update the output value based on an input type="range". It has the codes and everything, but although it’s the same (or at least it seems),…
-
2
votes1
answer113
viewsReset, reset Hover behavior
I have an element with Hover that expands the chat channels of a website. The problem is that on mobile, the Hover only works when I click on the element. Thus, to close the channels (close the…
-
2
votes0
answers122
viewslimit the number of characters per line in a multiline-type textbox
I would like in my field to allow up to 47 characters in each line, but I have a problem when the user leaves a line and keeps typing. Because it breaks the line before it completes the 47…
-
2
votes1
answer73
viewsInput does not take the file type
In my application I have a simple input to grab a file XLS on most computers it works normally, but in some it is with problem. The browser ends up not being able to catch the type of the file and…
-
2
votes1
answer219
views -
2
votes1
answer54
viewsChange box text when selecting option
I have the following code, but I’m having doubts about how I make the text change according to the selection. I wanted that when selected, for example, the user Marcyen as goalkeeper would appear a…
-
2
votes1
answer105
viewsGenerate only a Table header with PHP using Foreach
I am working on a simple application that reads XML files, I take the data I do the processing and then I show on the screen the data I want from XML, all via I am showing in a table and the header…
-
2
votes1
answer328
viewsHow to insert html tags into the document using javascript?
I have to make a bingo where, by typing a name in the field and clicking the button, the project generates a table with the name typed and some more columns containing random numbers. I was trying…
-
2
votes1
answer201
viewsHow to centralize a jute list with Bullets?
I’m dealing with css and I’m having a problem with a problem I’m a few days trying to solve, tried the best methods, but none solved. The problem is: I’m trying to centralize the list along with the…
-
2
votes1
answer96
viewsSubtraction in rows of a table using Datatables
Hello folks I am trying to make a subtraction in the fields Need - Balance and the result in Requested, from the table below, is only working the first item, I tried to move to an array and pick…
-
2
votes1
answer117
viewsHow to change the color when clicking?
This is an old game created in JS. is working right. I want to change the color every time I click on the squares. for example: when I click on the square the 'X' turns red, when I click on another…
-
2
votes1
answer121
viewsProblem with animation of a sort algorithm
Good evening, I’m looking to do a simple bar animation of the sort algorithm bubblesort using canvas of html together with javascript but for some reason the bars don’t change position, as if they…
-
2
votes2
answers30
viewsRemove white spaces between tds
Hello, I’m developing a project that uses the table structure and that in each row except the header row whenever there is a Hover on it, it gets a light gray but here to see well put a strong blue,…
-
2
votes1
answer88
viewsDoes changing the metatags on the upload affect rankings?
Good morning !! Guys, I have a website where the structure is made with calls PHP at the top, body and footer. Based on the route the user enters (for example www.site.com/article/article-example-1)…
-
2
votes0
answers242
viewsHow to change the position of the video controller?
To fit the video on the screen of a mobile application, I made the sequinte, I put the width screen size video, I put margin-top negative for the half of what’s left of the container to adjust the…
-
2
votes1
answer44
viewsProblems creating items from a dropdownmenu submenu using Javascript
I have a dropdownmenu that works normally when I load it using Asp.net core + Razor. Inside it I have the submenus Phones and WEB... When I try to recreate the submenus due to an app need, their…
-
2
votes3
answers403
viewsAlign Ivs side by side in the center
I’m having a hard time shaping the way it’s supposed to be in exercise... I wanted to leave the image attached I’ll leave the code of my attempts: .header{ background-color: lightgrey; border: 1px…
-
2
votes1
answer109
viewsReturn to the first tab when closing modal
I have a modal with tabs and I would like that whenever reopen my window the tab goes back to first, currently whenever I close the window the tab that appears is the last that activated. Follows my…
-
2
votes2
answers253
viewsAbnormal behavior when taking data from a Formgroup with Angular
I was finishing a form using Angular and Materialize and noticed that I was not receiving the data from fields generated with "datepicker" of Materialize, even if they have valid text. HTML:…
-
2
votes1
answer342
viewsSelect is not initialized with default value
I created a component that has a type field <select> and receives a property [modelo] as input: if the template is null, the form is initialized empty; if it has content, it is initialized for…
-
2
votes1
answer400
viewsHTML Doubt Credit Card Form
I saw a form that suggests the credit card that’s on autocomplete. But I honestly don’t understand what’s different about this form autocomplete work? If the fields input of form have not type how…
-
2
votes1
answer70
viewsDUVIDA - Replacing texts with Javascript
Well, I’m setting up a chat system in Delphi in which I use the Chromium component to load an HTML that I use as the chat history due to lack of visual components in it. Anyway, in the messages…
-
2
votes1
answer61
viewsApplying Semantics Html5
Good morning to all. I’m doing a study in Html5 semantics and ended up with a knot in my head... I wonder if I’m applying semantics correctly. footer { position: relative; bottom: 0; width: 100%;…
-
2
votes1
answer26
viewsW3C error a tag Name - "The name attribute on the img element is obsolete. Use the id attribute Instead."
Hello! I have a banner where it pulls images and functions through Javascript, but when I pass the page in Validator appears the message "The name attribute on the img element is obsolete. Use the…
-
2
votes1
answer377
viewsHow to align text with the center of the div with Materialize?
I have a div with a text and an image: This div has a block of text that should be aligned with the center. To make the alignment, I used the class .valign-wrapper, that worked perfectly with the…
-
2
votes0
answers41
viewsIs the load and processing dynamics between HTML and CSS asynchronous?
After the Three-way Handshake, that is, establishing the TCP connection between the client and the server. The client starts downloading the files. My doubts are: If in an HTML page that contains…
-
2
votes1
answer94
viewsFunction Listener being fired without Event having occurred, Javascript
In my code, I am having add an eventListener for each HTML element of the class "animation". For this I use "addeventlistener", passing the changeBar function as Listener, to be triggered in case of…
-
2
votes2
answers342
viewsEnable/Disable SELECT field
<div class="form-group"> <label>Tipo de Conta</label> <select class="form-control" id="banco" name="banco"> <option value="" selected>Selecione</option>…
-
2
votes0
answers42
viewsscroll-snap in css is not working properly
I am creating an html page and am having the following problem: I had to use the method scroll-snap css to 'lock' a div at each mouse scroll. This 'snap' is working with a however, when 'roll' the…
-
2
votes1
answer113
viewsTo define the value of a css variable by java Script
I want to define the Progress css via java script, making it change with a value I put in the Html input. take a look: HTML: <link rel="stylesheet" type="text/css" href="HPCSS.css">…
-
2
votes1
answer65
viewsProblems aligning div on the right side
I’m having a problem lining up the div. btns on the right side of the header, I’ve tried it: Justify-self: flex-end and end; I’ve also tried align-self: flex-end, and I can’t get it to go to the…
-
2
votes1
answer200
viewsAlign magnifying glass image within the field (input) of search - html
I’d like to align the image so it’s right inside the search field, like this: But it’s getting like this: Code I’m using: .container { display: flex; flex-wrap: wrap; justify-content: center; }…
-
2
votes1
answer26
viewsCSS personal-selectors do not seem to work with the querySelector method
Basically, I need to access the href of the last tag anchovy and change their value. const modHref = document.querySelector('.menu a:last-child'); modHref.setAttribute('href', 'ricardo.com');…
-
2
votes2
answers474
viewsTurn an image into a HTML5/CSS3 Submit button
I would like to turn an image into a button, but keeping the Submit property (send form to it) is possible? The code below demonstrates what I wanted to do: <form method="post"…
-
2
votes1
answer27
viewsCan you resize the background-color property?
I created a <h4>within a div as follows <div class="col-sm-12 divQuatro fundotransparente"> <div class="container"> <div class="row"> <div class="col-sm-8"> <h4…
-
2
votes1
answer102
viewsPlace menu items inside the div
I have the following code: .top-content { background-color: #fff; border: 1px solid #e07b39; height: 69px; } .nav-list { display: flex; justify-content: flex-end; list-style: none; } <div…
-
2
votes0
answers46
viewsSelenium.common.exceptions.Nosuchelementexception: Message: Unable to locate element: //div[@class='classificacao_run points']//table
Hello, I made a python webscraping on mozzarella and it worked. However, when I tried to apply the code on another site, I’m getting the title error message. In practice: When running the program…
-
2
votes1
answer264
viewsHow to increase and decrease the speed of a video?
I would like to know how to slow down and increase the speed of the video because I would like to offer this option to the user who uses the platform! This is the only problem I did not find a…
-
2
votes0
answers31
viewsCorrect way to use Aria-labelledby and Aria-describedby?
Is there a problem in adding values from class instead of id in the attributes aria-labelledby and aria-describedby? This will affect something regarding accessibility? For example: <div…
-
1
votes2
answers268
viewsHow to create "html canvas"? (I think it’s new in html)
I was looking at some websites and noticed a site that set up this example here: http://html5-demos.appspot.com/hangouts. At first I didn’t call but then when I saw the html of this page I saw that…
-
1
votes2
answers189
viewsChrome Mobile Android [Add to Homescreen]
Today I discovered that I can make a page as a native APP, with shortcut in the homescreen, opens almost in full screen... I did a test and it worked, now I need to make it work 100% fullscreen,…
-
1
votes2
answers237
viewsHow to add link in a Kendo UI tabstrip?
I have an application where there are 5 tabs, it is mandatory that they are followed in sequence. When the page starts the first tab occupies the whole space of the window (it looks like it is not…
-
1
votes3
answers737
viewsLarge variation relative margin between browsers
I’m having problems with CSS margins that take percentage in a responsive project. There are objects that have a 15% margin for the container, and in IE10 and Safari the difference is 10% more than…
-
1
votes3
answers3834
viewsGoogle Maps coordinates via a Widget on a website
I’m setting up a geolocation-based registration system. It happens that, sometimes, the registration should be done by phone, and the attendant is who will enter the location (coordinates)…
-
1
votes2
answers251
viewsGenerating thumbnails through Filereader
I want to generate thumbnails of images that the user selects. My problem is that always one of the images generates 3 thumbnails Demo here: http://jsfiddle.net/gTLXp/…
-
1
votes1
answer122
viewsValidation of fields in cshtml
I have seen some examples to validate fields, but all of them I have to inform which field or control to be validated, IE, I have to pass Name of the controls. In case I have a form with 20 fields,…
-
1
votes2
answers3026
viewsBootstrap styles do not load
I have a website and I’m using Bootstrap but for some reason when I go to index.php everything works as it should be, but if it goes to index.php/ (with the bar at the end) the HTML code loads but…
-
1
votes1
answer492
viewsBootstrap Navbar Collapse firefox problem
I recently started working with Bootstrap and am trying to create a navbar. The problem is that the navbar appears to be normal until we decrease the size of the window where it gives collapse as it…
-
1
votes1
answer980
viewsHow to insert an array within a text area?
How to insert an array within a text area? var itens = new Array(); var index = 0; function adicionaItem(item, quantidade) { itens[index] = {nomeItem : item, quantidade: quantidade}; index++; }…
-
1
votes2
answers7874
views"Quit" button in application developed in the App Framework
How to create a "Quit" button or cause the app to close when using the Smartphone’s "back"? To develop my application I am using the App Framework intel.…