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
-
6
votes3
answers170
viewsWhy use layout before loading information?
I see in several web applications that before displaying the content is displayed some blocks looking like an image, the blocks I speak in the image are those of the sidebar. Why use it and how to…
-
6
votes2
answers4267
viewsAssign a value to my td inside a table with jQuery
I cannot assign a value to my td within a table, it contains id dynamic as in the example below: <table class="table table-condensed table-hover" id="tabelaDependentes"> <caption>Lista…
-
6
votes1
answer954
viewsRecord video file after capture on site
I have a page that captures a video + audio from the user using HTML5 and Javascript. The code follows: <video width="600" height="400"></video> <input type="button" id="stopbt"…
-
6
votes2
answers788
viewsGoogle Speech API compatibility
Performing some tests on Google Speech API I identified that this feature only has support in Chrome and Opera browsers as per Can I use. Detail the main function that is used by the API is Speech…
-
6
votes1
answer2618
viewsHow to use <address> tag, doubts?
It is correct to use the element <address> just for an email? For example: <address><a href="mailto:[email protected]">[email protected]</a></address> Examples I always…
-
6
votes1
answer474
viewsIs it correct to name html tag attributes arbitrarily?
I would like to know about creating and manipulating attributes in html that are created. We have the attributes already known as the id, class, etc. that we put in the tags so we can manipulate…
-
6
votes2
answers45970
viewsLimit text display by number of CSS characters
Friends, usually the overflow: hidden; has a text limit by the size of the DIV from it, say 105 pixels... example: <div style="overflow: hidden; width:105px; border:1px; white-space:nowrap;">…
-
6
votes1
answer297
viewsHow to prevent the contents of an element from being copied after Ctrl+A and Ctrl+C?
I have a page and want to allow the copy normally, but I wish specific elements were not copied after using Ctrl+To and Ctrl+C, for example forms, navigation menus and advertising banners. This is…
-
6
votes1
answer470
viewsProgress bar does not charge
I have the code below, which feeds a progress bar while uploading the file. What happens is the following: In some browsers, like Chrome and Opera, it works normally. Not in Firefox and Safari.…
-
6
votes2
answers931
viewsHow to classify a table from A to Z?
I have an HTML table that brings information from the database. I wonder if there is any way to sort from A to Z and vice versa this data by clicking on the column name in the table? These data are…
-
6
votes2
answers277
viewsDifference Italic and emphasis in HTML?
What’s the difference between tags <i> and emphasis <em> in HTML? When using each of them?
-
6
votes2
answers12979
viewsHow to apply scrollbar only to the tbody element in an HTML table?
How to apply the scrollbar (scrollbar) only in the element tbody, thus leaving the element caption and thead fixed on the table, without moving when the scrollbar moves. Below follows the HTML and…
-
6
votes2
answers3233
viewsHow to calculate parcels (R$) and fill in inputs?
I would like help to implement the plot calculation and fill/create inputs according to the number of plots. Code below and in https://jsfiddle.net/wnm3jhr7/: $(document).ready(function(e) {…
-
6
votes2
answers505
viewsHow to limit the interval between two dates in the <input type="Month">?
Although there are 3 questions I believe that all apply to the same case about the "range/range" It is possible to limit the "range" between two dates in the <input type="month">? If yes,…
-
6
votes1
answer152
viewsWhat are Evergreen Browsers? Does this philosophy also apply to system development?
I heard that term, Evergreen Browsers in an English lecture on the evolution of browsers etc., but I didn’t quite understand what this concept would be. What would be a browser Evergreen or what is…
-
6
votes2
answers645
viewsWhat is the <output> tag for?
I wonder what the tag is for <output>. I saw this example here on the Internet: <form onsubmit="return false" oninput="o.value = a.valueAsNumber + b.valueAsNumber"> <input name="a"…
-
6
votes3
answers1082
viewsHow to style "broken image" (when image does not load)
How would it be possible to make a CSS style for when the image is not loaded on the page? When you have the link to the image, but for some reason it is not loaded on the page, or if the link or…
-
6
votes3
answers1597
viewsHow to open a. php file that is in a subdirectory?
My index.php has this script inside it: <?php $pagina = empty($_GET['p']) ? 'home' : $_GET['p']; switch ($pagina): case 'contato': $titulo = 'Contato '; $keywords = ''; $descricao = ''; break;…
-
6
votes3
answers418
viewsIs it possible to create a letter seal element with CSS?
What is the best way or way to build an element similar to a CSS-only Letter Seal? (at the moment I didn’t want to have to use SVG) I’m trying to build this shape with HTML/CSS and the option I have…
-
6
votes1
answer185
viewsIn CSS what is the difference between Pixel Density and Pixel Ratio? How does DPI, DPCM and DPPX work
With the "popularization" of retinal screens, mainly on Apple devices, I have seen some people using media queries with measures like: @media (-webkit-min-device-pixel-ratio: 2) { ... } @media…
-
6
votes1
answer197
viewsWith CSS, is there any way to change the style of Text-Overflow:Ellipsis?
Imagine I have a situation where the text is bigger than the container, then I’ll use text-overflow: ellipsis to place the 3 dots ... showing that the text continues and there inside the container…
-
6
votes1
answer183
viewsHow to make animation with SVG or CSS of a Text walking the way?
I have an SVG that is a Text aligned on a Path. But my intention is to do the text "running" by Path, as a Marqueer. The idea would be something like this image. But what I got was to animate the…
-
6
votes4
answers1051
viewsIs it possible to change Placeholder in Focus with CSS?
Imagine I have one input to the phone number, but that when the user focuses on it I want to change the text of the placeholder, for example of "telephone" for "only numbers". You can do this with…
-
6
votes1
answer332
viewsHow to make the border thickness responsive to this Brazilian Flag made with CSS?
I’m trying to make a flag of Brazil that is responsive. But I came across a problem with the white banner of the flag. OBS: I won’t put the text on the track! What happens is that the track is…
-
6
votes2
answers372
viewsWith CSS to make a color shadow on a text?
I saw this text template and I thought it was pretty cool, so I tried to replicate it and it didn’t work out so well... In fact I even managed to put a gradient that pleases me inside the text, but…
-
6
votes2
answers67
viewsIs there a problem with using invented tags and attributes?
I was looking at some websites and noticed some tags that are not patterns like <div> <span> etc.... So I decided to test and saw that these tags work normally with css and javascript,…
-
6
votes2
answers73
viewsWhat makes a code have different visual representations in different browsers?
I have a website that I am developing on which I have a top set menu (a navbar). The problem is this navbar has different views on Chrome and Firefox. I’d like to know why this is happening. I use…
-
5
votes1
answer1706
viewsWorking with SVG files dynamically
I am developing a web page where I use numerous effects in CSS. among one of them I realized that I can not ultilizar the filters in Firefox. Searching the internet I found some solutions that tell…
-
5
votes1
answer243
viewsHow to make the clip:rect(...) property not occupy space (width)
I wonder if there’s any chance of clip: rect(...) really 'cut' the element in question, not just hiding it. Here in this picture, without the clip: rect(...), shows the edge to exceed the space of…
-
5
votes2
answers671
viewsSelect with transition in change with onchange
How to add a transition effect (fade) in a select with onchange, that when the object <div> change the same occurs a transition? Below follows a print table that was made: And this is the…
-
5
votes2
answers2845
views@CSS font-face installs the font on the computer or just uses it on the website?
I was told that when I use @font-face on a page and someone accesses it, the operating system downloads and installs the source. It happens that I noticed the following: when creating a file with…
-
5
votes1
answer1117
viewsI cannot enter data into the sqlite using javascript
I’m creating a smartphone app using Cordova for a college project. The App consists of a simple patient registration. I’m having trouble recording data in the database. Initially the recording was…
-
5
votes1
answer9688
views -
5
votes1
answer1220
viewsSend "@Html.Beginform" to another area controller. Asp.Net
I own a controller in a Area calling for "LoginProfessional", with the actions Index, Logon, Logoff. I make a RenderPage calling for the Index in Area root of the project, but when I click on the…
-
5
votes2
answers672
viewsEvent fires second only, after sequence of user actions
I have a form where there’s a table. At the bottom of this, there are buttons to manipulate the table rows, and only the selected ones will be affected. Steps to play problem jsfiddle to check the…
-
5
votes2
answers226
viewsVertical alignment in a div with position:Bsolute
would like to know if it is possible to carry out the vertical-align in a div with Absolute position? Follow the code to analyze: .teste { background: #F00; width: 500px; height: 100px; display:…
-
5
votes1
answer214
viewsIs it currently safe to use font-face instead of Cufon and the like?
I am working on a website and I need to use fonts that the user may not have on his machine. Nowadays the most used browsers already support @font-face? From which versions? It is already possible…
-
5
votes1
answer5160
viewsPin a footer element to the footer
I am doing a job for the college where we were instructed to take advantage of the new semantic tags of HTML5 (Nav, Section, footer, etc). I’m having trouble fixing the footer at the bottom of the…
-
5
votes2
answers235
viewsColumns in percentage not aligned
I am using on my site 3 columns(sections) each with 33.33% width and with margin-left and right from 10px to 3. Only the last column is falling down. Because they are width in %, they should not fit…
-
5
votes2
answers772
viewsHow to search for a device on an internal network using Javascript and/or Node js
I’m creating an application that uses Websocket to connect two devices to an internal network, but for that to be done, it is necessary for the user to enter the address of the Node js server in a…
-
5
votes1
answer228
viewsBecause when I write in the div she changes position?
I write something in one of the <div> and it changes position. Because? Here this happening: http://codepen.io/anon/pen/JHIjB HTML: <div class = "wrap1"> <div>algo</div>…
-
5
votes1
answer1863
viewsDifference between using the main element versus a div with role="main"?
Thinking in terms of accessibility, described by WAI-ARIA, you need to define the element with the main content of the page with role="main", in order to improve the accessibility of the page for…
-
5
votes3
answers116
views -
5
votes3
answers141
viewsPhoto on the web with Windows 8.1 tablet
What I need I want to make a page where the user can click a button, take a picture with the camera of tablet, view it and click on button to save it. What I’ve already tried I have tried to use the…
-
5
votes4
answers28473
viewsAlign text after image
Hello, I have a problem I don’t know how to solve. This is my situation: But I want it to stay this way: And like I said, I have no idea how to fix. And that’s my code: <div style=" position:…
-
5
votes1
answer1396
viewsEnable CORS via Javascript (Phonegap)
I’m creating a Phonegap application that consumes a Web API (Web Service), and I need to access an external domain. Searching through the web I found that CORS should be enabled via Javascript to be…
-
5
votes1
answer166
viewsHow to put a text cursor to start on the right? Calculator
I’m making a basic calculator and on the calculation screen, I want the numbers to be "printed" from right to left. How can I do this?
-
5
votes1
answer4311
viewsDynamic search with JSON - PHP - MYSQL
I’ve been looking on the internet but I couldn’t find any references, maybe because I was searching wrong, so I resorted to create this post. I have a query in the database (Mysql with PHP) that…
-
5
votes1
answer674
viewsPercentage of ajax requests
I wonder if it is possible to create a percentage in Ajax requests. For example: When the form is submitted it starts with 0% up to 100% (when completed) My ajax: index php. <script…
-
5
votes1
answer91
viewsUrls in doctype and html tags
1) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2) <html xmlns="http://www.w3.org/1999/xhtml"> HTML5 removed…