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
-
4
votes1
answer364
viewsMusic player with playlist
Eai, you guys! I’m trying to create a music player with playlist, but I’m not having much success, because when I click on some music the music player opens on another page and not on the main page…
-
4
votes2
answers54
viewsMark Previous Check (Parent) to Node
What I need is that when selected Item "Ball" which is a child node of check "1031-HUBCAP ...", the Father node is selected as well. Or Do not let select the child node if the parent node is not…
-
4
votes1
answer85
viewsHow to take system time and add minutes to it in Javascript?
I am making a basic "calculator" for a game, and I need a function that takes the system date and adds 30 minutes when the button is pressed. Follow the script I’m trying to use and it doesn’t work:…
-
4
votes1
answer80
viewsDoubt about CSS Grid and Firefox
Good night. I recently started to study CSS, but when I was doing an exercise I came across an unusual situation, I am using CSS Grid along with Flexbox, when I review my site in the browsers Opera…
-
3
votes2
answers1588
viewsGrid with auto refresh html + Angularjs
Well I have a grid and it needs to be ALWAYS updated because it contains information that needs to be updated dynamically. This grid is populated with a Rest flame that returns me a json. I need the…
-
3
votes2
answers386
viewsRotation check in javascript
Is there any way to check the rotation of a div in javascript, for example the verification of style left is offsetLeft, someone could tell me what the rotation would look like?…
-
3
votes1
answer518
viewsProblem in Google Maps Javascript API V3 with MVC Webapp
I want to make a simple Map appear when the user clicks on (Menu>Find), the problem is that the controller receives the data and sends me and does not return the Map. I am using in my design, MVC…
-
3
votes2
answers374
viewsJoining Modal Bootstrap with HTML5 History API
There is a way to join the modal from Bootstrap (any version) with the API History? The logic would look like this: Opening the modal URL in the navigation bar would change to…
-
3
votes1
answer473
viewsDraw same javascript object on different canvas
I created a standardized function to speed up the design process in a multiple canvas project. I appreciate the collaboration of bfavaretto /users/74/bfavaretto See function: (it works correctly)…
-
3
votes1
answer444
viewsHow does Html5 cache work?
I have a webapp and I would like it to have a cache so that I don’t keep accessing it all the time. My webapp constitutes an index.html that parses on other websites. So every time the webapp opens…
-
3
votes1
answer898
viewsHow to pass checkbox list to Actionresult
I need to know how to pass the values of inputs checkboxes to the action Edit, need to pass the properties Checked and Id and store in a list of type Photo. Noting that the controller that this…
-
3
votes2
answers299
viewsDisplay data in the table
I am trying to present these items in this way: However after several attempts the table always remains so: How should I make the table to get this result? View <h2>Apagar evento</h2>…
-
3
votes1
answer406
viewsAuthentication in Java EE
I am developing an app whose client will be Html5 + javascript (single-page-app) and the backend will be basically Jax-rs + cdi + nosql (glassfish & orientdb). In this scenario, I need help to…
-
3
votes1
answer1339
views<Input type="number"> with time mask
How to make a <input type="number"> with mask in the format of hours, which accepts 00:00. Put type="text" just use a mask, but and with the type="number"?…
-
3
votes2
answers1168
viewsPositioning scripts and css links in an html document
I always put the CSS scripts and links at the top of the document in the head of the document. Now I realize that there is another concept where the calls to scripts and CSS, are at the bottom of…
-
3
votes2
answers202
viewsDoubts and More Doubts about the bootstrap 3 Layout
Hello I’m currently working with bootstrap and is my first contact with responsive layout I’m trying to create something like this: But I can’t let it all fall into place I can’t do anything anyone…
-
3
votes2
answers888
viewsBackground image makes the page flash when loaded
I’m creating a site, by uploading any of the 6 pages of a category of the site that each have a background image with an average of 40 to 70kb, the area where the image is flashed. The page always…
-
3
votes2
answers1138
views -
3
votes2
answers311
viewsHow to check if it is a URL in input text?
How can I check whether what the user typed in an input text is a website?
-
3
votes1
answer38
viewsIs it possible to configure a Jquery Effect?
It is possible to change the options on Toggle Explode? For example: it has nine divisions by default, is it possible to modify the number of parts in which it explodes and the size of these parts?…
-
3
votes3
answers3185
viewsHow to create random audio playlist?
I need something like this function next() { Url = new Array; Url[0] = "/mp3/001.mp3"; Url[1] = "/mp3/002.mp3"; Url[2] = "/mp3/003.mp3"; Url[3] = "/mp3/004.mp3"; Link = Math.floor(Math.random() *…
-
3
votes1
answer74
viewsList-style disappearing when using 'Columns'
I am using'Columns' in ul to split my menu into 2 columns. More when using, list-style some. Why? There is a possibility that it will not disappear? <ul id="menu-footer"> <li><a…
-
3
votes1
answer2470
viewsFind nearest Google Maps addresses
I have over 2000,000 records in a database with address and zip code, and I want to locate the closest establishments to my zip code using the Google Maps API. Example of what I need. But in my case…
-
3
votes1
answer723
viewsHow to center figure with max-width set?
I’m trying to centralize a figure with max-width defined. By centering without the max-width, right. But the background exists in it gets 100% and not centralized together with figure. For that I…
-
3
votes1
answer2211
viewsDoes Localstorage have any storage limits?
I need to store a very large amount of words/phrases in the user’s browser, I would like to know if use localStorage is a good option. If yes, there is some restriction/limit on the amount of…
-
3
votes2
answers47
viewsSet limit, css animations
I came across this problem that is affecting my CSS structure. I have such animation on my website http://jsfiddle.net/9bdqe2nq/ But I need it to stay inside the black bar, which is that surplus…
-
3
votes3
answers152
viewsCss alignments
My case is this:: But I want to leave it at that: HTML <div id="problema"> <div id="verificar" style="width: 500px; height: 100px;"> <h1 style=" clear: both;position: relative;…
-
3
votes1
answer77
viewsMedia queries ignored from a certain resolution
Working with Mediaqueries for responsive layout, I came across the following problem: I’m setting the resolutions quietly, but when I get to 800px the configuration gives 320px and 360px. It is…
-
3
votes3
answers831
viewsTempdata["Message"] error in Runtime saying the object is null
I started recently with ASP.NET MVC, and as you can see I’m playing in the if instruction, tempData[] and what happens is a following, every time I click inside Else in "View in Page Inspector" it…
-
3
votes1
answer154
viewsTwo elements with same height with jQuery - all the time
I’m taking advantage of a gallery system that I found on the web where, depending on the proximity of the mouse image, it expands proportionally. Link: Image gallery Well, I adapted the code to be…
-
3
votes3
answers1080
viewsAudio API to calculate the duration of multiple songs
I’m working on a player audio and need to know how to calculate the duration of various MP3’s that are selected on the user’s machine by a input of the kind file? EDIT: Follows my current code and…
-
3
votes1
answer181
viewsAudio player slows down and hangs after playing about ten songs
I’m making a music player in jQuery/Javascript/HTML5 and it’s going well, but when it starts to run the songs +or- in the 13th track starts to slow down the page and gives a "latch" and it’s…
-
3
votes3
answers194
viewsWhy use float:left and display:inline at the same time?
I’m watching a tutorial, where the teacher at a certain moment, minute 28, establishes the style of the elements of a ul to create a horizontal navigation bar, and do it using be the float:left that…
-
3
votes1
answer152
viewsDoes the base tag affect scripts and styles in an html document?
Having in http://exemplo.com/diretorio1/documento1.html the code: <!DOCTYPE html> <html> <head> <title>Uma página</title> <base href="http://exemplo.com/diretorio2/"…
-
3
votes2
answers202
viewsLayout adjustment with elements that are automatically generated
I’m making a site where one of the pages is responsible for listing user posts in box form. Each box corresponds to a new user post, which is generated by the ASP.NET MVC 4 code with Entity…
-
3
votes2
answers10413
viewsButton spacing
I want to reduce the spacing of these buttons but I’m not getting it. I’ve tried to put margin and padding and nothing. I don’t want to use a list. How can I do? Follow the html code: <div…
-
3
votes2
answers1183
viewsDynamic Link? And how to implement?
I don’t know the name of this technique, I’m a student, but sometimes I see in the lower left corner of Chrome the complete link type... http://www.bla.com/.../o-video-game-legal.html Then suddenly…
-
3
votes1
answer127
viewsHow does Javascript’s async attributo work?
I was reading about the attribute async, which is used in the tag <script>, and I got curious and doubtful about some things. According to the W3school: A script that will be run…
-
3
votes1
answer1791
viewsHow to make an animation by replacing images
Has a browser game on the internet it has a feature that I found interesting and would like to know how to do. As you can see in the picture, there are some buildings, some objects and some people!…
-
3
votes3
answers42
viewsFormatting problem when injecting date into datetime attribute
I need to assign the current date in a field datetime one-paragraph, for that I implemented: ... var newDate = new Date(), date = newDate.getFullYear() + "-" + (newDate.getMonth() + 1) + "-" +…
-
3
votes2
answers1336
viewsHow to transform input value into string
How do I transform the value of an input into a string, including if the user types HTML tags, with Javascript or jQuery. <div class="val-input" contenteditable="true"></div>…
-
3
votes1
answer1390
viewsHow to select a value from an <option> by Angularjs
Well, I do an interaction to get the options, and I want to select the first option <select class="form-control" name="accounts" ng-model="vm.deposit.account" ng-options="account.account as…
-
3
votes4
answers9290
viewsHow to place a gif before displaying the site page
I would like to put a gif of loading on my website. When I access the page before opening the site, I would first open the gif and stay for 1.5 seconds or so. This is possible? Note: I want…
-
3
votes2
answers158
viewsVideo loop in Html5 making endless re-downloads. Overflowing bandwidth
I am using a video as the background of the upper area of the site. Identical to this site, using a <iframe> pointing to a video on Youtube. The big problem that I noticed on all sites that…
-
3
votes1
answer1558
viewsHow do I update the content of my app created on intel xdk after it’s already in stores?
I am creating a news app on intel xdk, and would like to know after publishing it in the store how do I update the content, because this update will have to be daily.
-
3
votes0
answers74
viewsProblem with pause in keyframe
I made a keyframe that is working perfectly but I am a problem regarding the pause of it so it pauses as soon as I pass the mouse over with an effect :hover however the problem and that it pauses…
-
3
votes1
answer112
viewsMove the div according to the value of degrees in Javascript
Simply move the div towards the degress value. I’ve done a lot of manners, but I can’t. A code I’m trying: http://codepen.io/duduindo/pen/eNEobG "Does anyone have any light/solution for this…
-
3
votes2
answers1067
viewsDraw image using css
I wonder if you could draw the image below using css only? I’d like to create a button like this…
-
3
votes1
answer711
viewsRun a full screen Html5 video
I’m using this solution to load an html that has a js that loads a url from an encrypted video. Everything goes very well however, I need that when giving the first play in the video (click on the…
-
3
votes1
answer1017
viewsHow to display an ASP HTML code on a Label by sending by Code-Behind(C#) - ASP.NET
I’m having a problem, I did several tests where I wanted to send directly from a C# method an HTML code to a label, where it would display dynamically the code on the screen. But when I tell her to,…