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
-
7
votes1
answer301
viewsAre there HTML text editing tags "preferred" by google search robots?
I decided to rewrite some 300 files that I will use in a project, because they were originally written directly on google Docs, and when saved as HTML and try to include with requireor include,…
-
7
votes1
answer85
viewsMechanisms for form validation
What are the pros and cons of validating forms with these features: HTML5? Javascript? Jquery? HTML5 + Javascript/Jquery? There is something to consider beyond these items?…
-
7
votes2
answers585
viewsListing error in paginated search system
When I do the query I get the following result [imagem1] By clicking to go to page 2, I get the following result [imagem2] That is, on page "1" everything working with the total results displayed…
-
7
votes2
answers1185
viewsWhich pattern to use: HTML5 or XHTML5?
Why should we not mix the two and which of the patterns is most useful today?
-
7
votes1
answer4727
viewsHow to display asterisk in fields with required css?
I have a form with some required fields and some not. How can I automatically insert an asterisk on the label of each field with required through css? <div class="form-group col-md-4">…
-
7
votes1
answer140
viewsIs it correct to omit the "true" value of the Boolean attributes inserted in the HTML elements?
When we insert attributes Boolean in the elements (tag) <html> we do not need to inform the value true, its mere presence already confirms, by default, that this attribute is active. Example:…
-
7
votes2
answers3863
viewsDisable HTML5 Video Download Button
After updating Opera and Chrome, using the tag video started to appear the video download option, as below: Does anyone know how to disable this? I am using the following code: <video width="800"…
-
7
votes1
answer816
viewsNavigation via HTML or Javascript
I’ve been working a lot with javascript and it makes me use it for almost everything. But I’m having a question. Is there any problem of semantics, indexing or search results of my page when I use:…
-
7
votes2
answers12106
viewsRemove arrows in type number field
Colleagues. I’m using the code below for when the user access by smartphone, appear the number pad: <input type="number" value="" class="form-control"> But on the desktop, when we click inside…
html5asked 7 years, 10 months ago user24136 -
7
votes1
answer507
viewsCustom HTML attributes
I am developing a system aimed at managing public tenders and I need it to be compatible with as many devices as possible. In some situations it was necessary to use custom attributes, example:…
-
7
votes4
answers1249
viewsWhat is the <canvas> tag for?
I was researching some information and saw that there is a tag called <canvas> in HTML5. What does the canvas tag? It only serves to make geometric shapes? If possible and feasible, could give…
-
7
votes4
answers2176
viewsWhat are they for and why do they nest the DIV tag?
To TAG <div> is one of the most visualised within a file HTML, it is used within the beginning of the TAG <body> the closure of the </body>, as an example: <body>…
-
7
votes1
answer120
viewsWhy can’t I see the icon code ( ) in developer mode?
Example of this icon: In developer mode (F12, Google Chorme), I can’t see the code of this icon, only image appears. Why does this happen ? Has some secret ? See the image below: Instead of…
-
7
votes2
answers17539
viewsCan’t bind to 'ngModel' Since it isn’t a known Property of 'input'
I’m with [(ngModel)]="cliente.nome" this code keeps generating the error of: Can't bind to 'ngModel' since it isn't a known property of 'input'. ("="col-md-4 control-label" for="idNome">Nome:…
-
7
votes6
answers2555
viewsHow to change the title element text?
Follows code: $(document).ready(function() { $('#1ano_card_title').text('R$20,00'); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <h2…
-
7
votes1
answer3418
viewsphoto album with HTML and CSS
I have a folder on the site called PHOTOS , by clicking on the folder PHOTOS I thought I’d put several < article > splitting each photo album type: < article > album de fotos 01 <…
-
7
votes1
answer132
viewsHow to prevent pseudo-element (:before or ::after) within a <a> tag from being clickable?
Is there any way to prevent pseudo-element ::after or ::before one-link <a> become part of the link itself? My idea was to use one ::after in a link tag <a>, that ::after would be used…
-
7
votes1
answer570
viewsHow to prevent an Input Required from starting with the CSS style :invalid
When I have a input required that has some CSS style when it is :invalid, even before the user interacts with the input it is already stylized as invalid. How can I avoid this? Take the example:…
-
7
votes1
answer399
viewsHow do you make Scroll center on the elements inside the container?
Imagine that I have an image gallery that is inside a container. But each image in the gallery has a size according to the image: What I’d like to do is a snap, so that at the time of scroll at a…
-
7
votes1
answer481
viewsIn CSS, how do I align Numbers with Text in Classic Fonts?
I’m wearing a Font-Face that has the old typographical style in the numerals is want to align them with the text. Note that the numbers of this source follow the old pattern, where the digit is…
-
7
votes1
answer676
viewsHow to make a marble background with CSS?
I was wanting to do a dotted bottom, like a bunch of balls to make the background of a website, Example of what I’m trying to do. You can get to this result with CSS only without needing an image? I…
-
7
votes1
answer1065
viewsIs it possible to use Input Value as the CSS selector?
Look at the examples below. I’m trying to style my CSS through value that he has, but it’s not working. I’ve put together three examples, one for input has the [value="red"] it should stick with a…
-
7
votes2
answers232
viewsAbaloada shape with CSS how to do? How to make a Shape in this kind of aredondado format?
I would like to make an element half round, it is not an ellipse, nor a circle, nor an element with border-radius. It’s a kind of rounded shape as you can see in the image below and I couldn’t do it…
-
7
votes1
answer318
viewsIs it possible to make CSS an infinity symbol with one circle passing through another?
I’m trying to make this way. Notice how one circle seems to pass inside the other... However I am not able to make an element "go through the other" with CSS, is it possible to arrive in this form…
-
7
votes1
answer136
viewsWho regulates W3C or WHATWG web standards? Or neither?
I always thought that whoever ran the standards was just the W3C, but it seems that’s not quite it... I saw that there is also the WHATWG (The Web Hypertext Application Technology Working Group)…
-
7
votes3
answers85
views -
6
votes1
answer115
viewsIs it possible to send messages from one Webworker to another Webworker?
I have a page where I intend to use a set of Webworkers to perform tasks in the background. Each Webworker has a specific function, but potentially useful to others. It is simple to receive/send…
-
6
votes2
answers1505
viewsHow to insert an image into a CSS file?
I use a program here in the company that in its Web module it has its logo inserted directly in CSS something like: #logo img{ max-width:100%; background-image: 'data|base64=acSs....'; } How do I…
-
6
votes3
answers490
viewsScroll bar not hidden in Internet Explorer
I’m creating a site where I use various elements div page size, and links in the top menu that directs to these div, making a page scrolling effect every click. My problem is that in Internet…
-
6
votes4
answers1904
viewsHow to control when localstorage data expires?
I’m storing some data on localstorage browser and would like to set an expiration date for that data, but I do not find a way to control when these data expire. These data have some control over…
-
6
votes1
answer82
viewsHow to add customElements support for Opera 12?
I’m working with customElements, but I’ve been having problems with Opera 12. So far the best I could do is use x-tags but the same of support only to the document.register and this differs a little…
-
6
votes2
answers1256
viewsMake a site with multiple pages offline
Assuming I have a site with multiple pages - for example a blog - I want to put an option for those who visit it to have access to it without internet. Since not every device has constant internet…
-
6
votes1
answer179
viewsDiv appear at the bottom (Superscrollorama)
I have a problem at Scrollorama. I wish the div started showing up right at the bottom, but she’s only showing up when I’m halfway through the site. The class: $(document).ready(function() { var…
-
6
votes2
answers7033
views -
6
votes2
answers532
viewsHow to use CSS style in application?
I created a app for Android using the App Framework from Intel and built with Phonegap. He has the visual style of framework, but when I run it on Android device, it uses the native appearance, that…
-
6
votes1
answer345
viewsForce Javascript to cancel field registration with required (HTML 5)?
I have a registration field that are required to be completed via HTML5. However, by clicking the unsubscribe button, HTML5 does not let Javascript return to the previous page! = ( Requires me to…
-
6
votes3
answers27524
viewsPlace button side by side
Hello wanted to have a back button and another to go to analysis, when I go to see the site they always appear on one the bottom and the other on top. My code is: <a…
-
6
votes2
answers5742
viewsUse global variable in more than one js file
I have the file Geragriddados.js and in this file I created a global variable and a function. nomeTela = ""; function redirecionaTela() { //redireciona para tela que chamou a tela de Dados.…
-
6
votes2
answers970
viewsInput radio that looks checkbox?
I need to do a quiz, and the alternatives are radio inputs, but it looks like custom checkbox. What’s the best way to do that? .tabs-below > .nav-tabs, .tabs-right > .nav-tabs, .tabs-left >…
-
6
votes2
answers679
viewsMenu to select color
I’m making a tool, and I need a menu for color selection. Could someone tell me how to do? Something like that:
-
6
votes1
answer1761
viewsHow to validate format and compare two dates to enable buttons
I am using a script* to enable a button when two validations are made. The first one checks the format, and the second one if the initial date is lower than the final one, but I’m having some…
-
6
votes3
answers2663
viewsHow to copy to clipboard without using flash?
google Chrome is displaying a message from "This site uses plug-in (Adobe Flash Player) that will soon be no longer compatible". Is there any way to do it without Flash? How? And something that…
-
6
votes2
answers554
viewsHow can I leave half a side of a curved element inside as in the figure with css?
I need to make a menu exactly the same as in the picture, the problem is that I can’t make the bottom curve of the element, preferably I would like to do only with css, but if not, another solution…
-
6
votes1
answer1395
viewsHow to make a layout template with Angularjs?
need a standard template for all screens of my front-end application how do I do this with angular-js? have as?
-
6
votes1
answer301
viewsHow to stream audio with Ionic?
I need to stream audio with Ionic, I’ve installed several plugins but streaming does not work, using http and rtsp protocol. I also tried to put a Javascript function inside the index of the app but…
-
6
votes1
answer13196
viewsHide field in HTML with Bootstrap
How can I make a text field in my HTML is hidden when the user is viewing by mobile and appears when he is viewing by PC?
html html5 twitter-bootstrap bootstrap-3 responsive-layoutasked 8 years, 11 months ago Kleber Nunes 71 -
6
votes1
answer10692
viewsMinimum and maximum limit of a number in a number type input
Hello, I would like to know how I can put a limit, a minimum and maximum number that can be entered in the field. For example, make the number typed in the field below not less than 0 and greater…
-
6
votes1
answer40
viewsIs there a problem using HTML 5 attributes instead of jQuery or Javascript?
Is there some security issue or something like using only attributes, like required in inputs, among others, instead of jQuery? Or it’s just some option to use jQuery to customize the message only?…
-
6
votes3
answers434
viewsIs it correct to omit the html start tag in HTML5?
Should we or should we not omit the start tag html in an HTML5 document? Several developers ignore its use. Thank you! <!DOCTYPE html> <head> <title>...</title> </head>…
html5asked 8 years, 8 months ago Ingrid Farabulini 1,002 -
6
votes1
answer1262
viewsHow to change filename for download?
I am generating a PDF file and use HTML5 to display it on the screen: $("#conteudo-pdf").append('<object data="' + meuData + '" type="application/pdf" style="width: 100%; height:…