Questions tagged as 'html5'

2
answers

Which standard to use: HTML5 or XHTML5?

Why should not we mix both and which of the patterns is most useful these days?     
asked by 25.03.2016 / 13:53
1
answer

Is there a problem with using HTML5 attributes instead of jQuery or JavaScript?

Is there a security problem or something like using only attributes such as required in% with% s, among others instead of jQuery? Or is it just some option to use jQuery to customize the message only?     
asked by 16.12.2015 / 05:21
2
answers

Stretched image in Internet Explorer

On a page I'm developing, a webpage where I have an image that adjusts itself according to the field space. to do this, I used the max-width:100% property that is advised on the web to make this kind of adaptation into responsive template...
asked by 16.12.2013 / 12:18
1
answer

How to validate format and compare two dates to enable buttons

I'm using a script * to enable a button when two validations are done. The first one checks the format, and the second if the start date is smaller than the final one, but I'm having some problems adding more fields with the same functionality,...
asked by 25.06.2015 / 05:42
3
answers

How to copy to clipboard without using flash?

Google Chrome is displaying a message. This site uses a plug-in (Adobe Flash Player) that will not be compatible soon. Is there any way to do it without Flash? How? And something that preferably copies an attribute, for example: <a h...
asked by 17.08.2015 / 16:26
4
answers

How to control when localstorage data expires?

I'm storing some data in the localstorage of the browser and would like to set an expiration date for this data, but I do not find a way to control when that data expires . Does this data have any control over when it will be discarded?...
asked by 29.01.2014 / 20:20
1
answer

How do the Scroll center on the elements inside the container?

Imagine that I have an image gallery that is inside a container . However each image in the gallery has a size as the image: WhatIwouldliketodoisasnap,sothatatthetimeofscrollatsomepointthetargetelementgoestocontainercontrolasthisgif.Noticet...
asked by 25.09.2018 / 20:45
3
answers

Why 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 that I speak in the image are those of the sidebar. Why use this and how to use it? Image of an application:...
asked by 28.06.2016 / 17:37
1
answer

How 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: 100%"></object>') Content is displayed correctly...
asked by 23.10.2015 / 14:26
2
answers

Use tag section within an aside

My tag is as follows: <aside> <div class="last-news"> Conteudo </div> <div class="social"> Conteudo </div> <div class="links"> Conteudo </div> </asi...
asked by 18.02.2014 / 19:42