Questions tagged as 'html5'

3
answers

How to fill a numeric field like in internet banking (from right to left)?

In ATMs and internet banking websites there are numeric fields that when you type they are filled from right to left, increasing the number as you type, for example: +-----+--------------+ |tecla|valor do campo| +-----+--------------+ | |...
asked by 13.01.2014 / 18:27
2
answers

In HTML5 should nulls be enclosed with "" or with "/"?

In HTML 5, there is a series of null elements, which according to # and data examples (English) by W3C, they are closed using only > : Null Elements area, base, br, col, embed, hr, img, input, keygen, link, menuitem, meta, pa...
asked by 05.01.2014 / 20:55
3
answers

Why can not I center image using 'text-align: center'? [duplicate]

Follow the code below: HTML <div class="panel panel-default" style="height:400px"> <div class="panel-body"> <div class="form-group"> <div class="col-xs-6"> </div> </div> <...
asked by 30.12.2016 / 00:30
4
answers

Why does Input Type validation mail accept domains without a dot?

The input type[email] is intended to validate if the field is being populated with a valid email. But I've been questioning a few times on some projects about why this field accepts some types of emails that are seemingly invalid....
asked by 23.01.2017 / 15:33
2
answers

Difference between ".attr ()" and ".data ()"

Note that there is a difference between updating or applying a data attribute using the jQuery method .attr() and the method .data() . The examples below can be seen in this JSFiddle . Apply value to non-existent...
asked by 14.01.2014 / 18:38
3
answers

How to create a select with images in the options?

I thought I'd be able to make a simple% s in html with image, but it does not work. I'm beginning to think that this is a problem for modern browsers or HTML5. CSS select#gender option[value="Prima"] { background-image: url('../pro...
asked by 16.04.2014 / 21:21
1
answer

What are the aria- * attributes in HTML5?

Since the release of HTML5, I've seen a number of aria attributes in HTML tags, such as aria-disabled , aria-required , aria-readonly , among others. What do they serve?     
asked by 08.11.2015 / 15:14
2
answers

How to make CSS ignore if the attribute is CAPITALIZED or lower case?

Imagine that I have a situation where I need to style multiple links on my page, but only links that end in .html , but I noticed that when I try to get the href attribute, I can only get the ones that end exactly with .html ,...
asked by 17.09.2018 / 16:40
1
answer

Show GIF while page loads

I need a GIF to work while the page loads. I already tried a few ways but none worked. And when the page load appears Done! . More or less as happens on this site .     
asked by 08.03.2014 / 18:57
1
answer

How does the HTML5 template element work?

Recently I've seen some news about a new HTML element called <template> specified by W3C and has already been implemented in most modern browsers. Apparently it allows you to create custom tags, much like in XML: <minha-tag&...
asked by 18.06.2014 / 04:35