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
votes2
answers10294
viewsEnable/Disable button according to field validation
I am performing date validation for two fields <input type="text"> with the jQueryFormValidator: $.validate({ modules : 'date' }); <script…
-
4
votes1
answer1985
viewsHow to insert a water mark in png
Following this example, I would like to be able to use a png in place of the tracks made on the canvas: https://github.com/baivong/Celebrate-Pride-Canvas I’m using this code as a study, because it’s…
-
4
votes3
answers2889
viewsRunning my Angularjs application on some server
I have a front-end application consuming an Rails api, but I’m new to this idea of separating the front-end from the back-end, my api runs on localhost:3000, and my front is simply a folder that I…
-
4
votes1
answer561
viewsHow to convert jQuery’s . on function to pure Javascript
Today I started trying to turn a function I’m using into jQuery (which @José helped me implement in this answer) to .on, for pure Javascript, but I’m facing some difficulties. The online courses I…
-
4
votes1
answer243
viewsHow to remove required HTML5 validation icon
How to remove this icon marked above in the image?…
-
4
votes1
answer984
viewsOpen camera inside a div [Ionic]
I’m developing a small application with Ionic, which will be built for android. I need to access the device camera in the app for video, but when I do, the camera app opens from the outside. I would…
-
4
votes2
answers2611
viewsIs it possible to place a 'pre-image' in the youtube iframe?
I embedded a Youtube video on this site: http://aresdapraca.com.br/ I would like to put an image over the video when it is paused at the beginning. I already did this but it was with the tag…
-
4
votes1
answer593
viewsHow to change the color of a FLAT-UI select without using Less?
It is possible to change the color of a select (from data-toggle select, including Flat-UI options) by CSS without using less?. In this FIDDLE that @dHEKU posted in the comments, the color of the…
-
4
votes1
answer1018
viewsHow to remove an already selected item from an upload Multiple
I have this example and would like to remove an item from my selection. However it is not removing properly, has a problem with the index number, how could it solve this?…
-
4
votes2
answers9672
viewsPlay alert sound after database query (PHP + MYSQL)
I need a warning sound to be played after a bank appointment... Logical example: NUM_LINHAS = TABLE ROW NUMBER SE (NUM_LINHAS > 0){ play(); } My Java function that plays sound: <audio…
-
4
votes2
answers6722
viewsDisplay input value date type
I have the following input: <p>Data Saída:</p> <input type="date" maxlength="10" id="saida" name="saida" value="29/01/2016"/> It is being shown as follows: But I want to display…
-
4
votes1
answer1152
viewsAxes of a Cartesian plane changing according to the HTML5(canvas) + JAVASCRIPT zoom
Guys, here’s the thing, I’m doing it with js + html5 and canvas a program to plot graphics: I would like to implement a zoom + and -, as in the image, and return to the original zoom by clicking…
-
4
votes2
answers976
viewsAttribute "wrap" of the textarea tag
What is the usefulness of the attribute wrap tag textarea? What is the difference between your values soft, hard, off?
-
4
votes1
answer676
viewsHow to create an association form (Picklist) in modal?
How to make the screen below in modal. Remembering that the boxes are multiple selection, and how to do that by clicking the button Associar > move to the right column the values I selected on…
-
4
votes1
answer502
viewsLoading external "pages" via AJAX. Will Google index?
Some talking to use #!, others say to use History API and others say that the Google already runs Javascript. I’m doing a project whose pages are loaded into a container leading. All link is an…
-
4
votes1
answer360
viewsMake text editor with syntax Highlight
How can I make an Highlight syntax HTML system for a text editor? I thought of using a tag <pre> with the contenteditable="true", then using Regex I would replace the syntax of contentText,…
-
4
votes1
answer74
viewsAttribute Translate: what will be the use of this future attribute?
What steps is the experiment of this attribute and when will the browsers begin to accept its use? And someone can understand and risks explaining what will be their real usefulness in the elements…
-
4
votes1
answer115
viewsWhen should I use "xml:" in front of some attributes?
I noticed that some attributes use xml: for example xml:lang="pt-BR"? It seems to me to be an attribute, but it is neither local nor global. In HTML5, its use is required? <html…
-
4
votes2
answers19877
viewsHow to include an action in the HTML5 sign-up button?
I have the following code: <form action="paginas/login.php"> <p id="log">Usuário: </p> <input id="cmpG" type="text" name="usuario"/> <p id="log">Senha: </p>…
-
4
votes1
answer1197
viewsWhat is the prefix attribute for in the html element (tag)?
Why do you use the prefix attribute on elements (tag) html? And in HTML5, can I also use it? Thank you! <html prefix="og: http://ogp.me/ns#">
-
4
votes1
answer58
viewsIs the window rendered by the gift or does it come before that?
A curiosity: I wonder if the window is rendered by dom when loading the window, as the document is usually window.document.html. Or the dom comes after this parameter?…
-
4
votes1
answer21098
viewsFormdata() object for sending files via ajax Jquery
I need to send data from a form via ajax to the server (php). I used the Formdata() object but to no avail. Part of my jquery: var formdata = new FormData($("#myform")); var link = "form/insert";…
-
4
votes3
answers1676
viewsUse HTML5 form validation next to Jquery
I need to validate a form using the browser property required. Only that there is a problem, my Submit button does not stay on the form. It has to stay out, and when I click on it I call the…
-
4
votes2
answers1084
viewsRead a "value" inside a "<select></select>"
How to read the values of a <select></select> using HTML5 + Javascript? Ex: <select name="tAtividades" id="cAtividades"> <option value="0" selected="selected">Selecione o…
-
4
votes1
answer8851
viewsHow to center a Modal Box Horizontally and Vertically with CSS3? Is it possible?
Man Modalbox(.modal-fade on Boostrap), is appearing at the top of the page! I can center it on Horizontal and Vertical using only CSS3? If yes, what would be the right way? Follow the code of my…
-
4
votes1
answer1974
viewsvar_dump returns everything on the same line
Hello folks my php is returning the var_dump this way what can be? I use shaman in Ubuntu. who can help very much thank you.…
-
4
votes3
answers788
viewsHide description with ''Display: None " bad for SEO?
I have some links on the site and I will add a description to each of them, and hide the description, but I doubt if hide with display: none is bad for SEO. See how I intend to do <li><a…
-
4
votes4
answers82
viewsDoubt with height in a DIV
I have a problem that seems very simple to me and I’ve done it before, but I just don’t remember how! Assuming a page with 3 Ivs (header, content and footer) how do I make the content div take up…
-
4
votes2
answers1355
viewsIs there a way to redirect to another page by clicking on a div?
I have a div: <div class="col-lg-4 col-sm-6"> //Essa aqui <section class="panel div-border-red"> <div class="symbol red"> <i class="fa fa-eye"></i> </div> <div…
-
4
votes1
answer55
viewsHTML5: Problem with operator not in the Pattern attribute of input text
I want to make input text allow only the following strings: site.com; site.com.br; site123.com123.br; site-123.com.br. But never: site-123-.com.br My expression was like this:…
-
4
votes1
answer98
viewsHow to put signals between <td>
How I can place signs or images, in the middle of the edges of a table, as in the image?…
-
4
votes1
answer214
viewsHow can I detect if the user of my site has my extension installed in Chrome/Moziilla
Hello, I need to detect if users who access my site already have my installed extension, some site functions depend on this extension. If the user has the extension installed, they will be able to…
-
4
votes2
answers951
viewsSite in dynamic HTML
I am a beginner developer and I make static websites in HTML/CSS. Now I’m with a project of a news site. The site is already ready, but I need it to be dynamic, that is, the customer can insert new…
-
4
votes2
answers89
viewsDoes a large image hinder the performance of the application?
My banner has an image of 11mb while local is all ok but would like to know if when upload this application will leave the same heavy. Thank you in advance.
-
4
votes1
answer1058
viewsData gets wrong when converting to Date in Javascript
Hello, I have an API in . net that returns the data, the date comes in format: 2016-06-17T00:00:00 and I try to convert it to date in Javascript, so I do the following: var data = new…
-
4
votes1
answer219
viewsWhat is an inert element?
I asked a question about tabindex here on the site and ended up bumping into the term inert elements. I realized it’s something that’s in specification of w3c, and on top of that there is a Polyfill…
html5asked 7 years, 7 months ago Wallace Maxters 102,340 -
4
votes2
answers3746
viewsHow to make a vertically zebrad table (switch column colors)?
I know how to make a table horizontally zebrad, ie, each row with alternating colors (the famous color yes and color no). I wanted to know now how I could by css switch the colors of the columns:…
-
4
votes1
answer790
viewsHow to add results from a list and display result in an Ionic popup?
I have an actiosheet that opens a popup: In the popup I want the total values of the list to be displayed. That is, I need to add / accumulate the values of the list and display the sum in the…
-
4
votes1
answer163
viewsWebworker and Async - What is the difference and when to use it?
I am studying specifically an implementation of Webworker, and did not understand very well the difference between Webworker and Async in Javascript, whereas Webworker gives me an asynchronous…
-
4
votes1
answer519
viewsHow to measure the performance and costs (processing and memory) of a frontend?
I am working on a project that uses a lot of Javascript (ecmascript-6, jQuery), Html5, CSS and would like to have some way to measure the performance, the consumption of processing and the…
-
4
votes2
answers1152
viewsHow to redirect Css to only one Div
I’m creating a website where I need to use a unique css file for the div responsible to display the services performed on it. The problem is that this css file is downloaded from somewhere else, and…
-
4
votes1
answer1206
viewsHow to create expandable banner with HTML5 and CSS3 only?
I need to create an HTML/CSS banner that uses only two JPG/GIF images. The first image will be 300x250px and the second image 600x250px. The first image will be displayed and the mouse will be…
-
4
votes1
answer800
viewsDelete values from the html list of options
I have a page and I show 4 options for each of the 4 alternatives. Each option has a value from 1 to 4. I would like that each time the user selects a value, this value is deleted from the list of…
-
4
votes2
answers15005
viewsHow to place an image in an HTML button
I am creating a button on a given page and would like to put a background image. I’m trying to tag background-image:url() in CSS but not working. HTML: @model…
-
4
votes2
answers3841
viewsHow do I leave the opacity of a dark image and display the figcaption text on Hover?
Hello, I am trying to leave the image dark and appear the text when I hover over. Can anyone help me? <div class="efeito"> <figure> <a href="#" target="_blank"><img…
-
4
votes5
answers3695
viewsRegular expression to find bar
I need to validate a field and it must have the following format: two letters/numbers. Ex.: RN/1234567. The two letters will always be uppercase and the number quantity has no limit.
-
4
votes2
answers515
viewsStructuring with html/div and css
I am beginner/enthusiast and I’m having difficulty to drop the "table", I’m having problems to do this below without leaving a fixed pixel value. Well, it was solved and this was the result: *{…
-
4
votes1
answer144
viewsAlignment of <pre><code> elements in css
Example code without indentation /*Exibindo trecho de código no HTML utilizando o <pre><code>*/ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">…
-
4
votes2
answers417
viewsIs using HTML5 tags as CSS3 switches a good practice?
Use the names of tags HTML5 as most CSS selectors is a good practice? Be it because I’m not creative to give names to ids or classes, or by wanting to make HTML code as clean as possible, leaving…
-
4
votes2
answers407
viewsHow to give a blank space between 2 input-group?
I have 2 input-group, they are "glued", I want to give a blank space, follows code below: <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>…