Questions tagged as 'html5'

2
answers

How to calculate installments (R $) and fill in inputs?

I would like help to implement the calculation of plots and fill / create the inputs according to the number of plots. Code below and link : $(document).ready(function(e) { $('#condicao-pag').on('change', 'select', function() {...
asked by 24.12.2016 / 21:05
2
answers

Image inside round div

I have a div block with height and width of 55px and border-radius: 100%; and I want for an image inside, but if the image is rectangular and I leave it with border-radius: 100%; she is oval! You have how the div overlays the image and covers th...
asked by 30.06.2015 / 16:41
1
answer

Is there any way to use a "custom-attribute" as the value of a CSS property?

I wonder if there is a possibility to use custom-attribute of type data-*=" " as a value for a CSS style or even use this custom date as value for a variable in the CSS. For example, I'll explain my idea. I'd like to put in t...
asked by 18.09.2018 / 16:56
1
answer

How does Cubic-Bezier work in Animations with CSS?

When we do an animation with CSS we have several parameters that we can use. animation: name duration timing-function delay iteration-count direction fill-mode...
asked by 29.11.2018 / 12:27
4
answers

How to make Button style Material Design only with CSS

On Android and design system Material Design it is common to see this button they call Ripple Buttom . link ButitisdonewithJSandmyintentionistodoitwithCSSonly.IsitpossibletodosuchaneffectwithCSSonly?Noticethatwhenbtnisclickedittrigger...
asked by 18.12.2018 / 14:39
1
answer

Difference between using the main element versus a div with role="main"?

Thinking in terms of accessibility, described by the WAI-ARIA , you need to define the element with the main content of the page with role="main" , in order to improve page accessibility for users with assistive technologies. For examp...
asked by 23.07.2014 / 03:40
2
answers

Img in header changing on each page load

I'm starting a new project in HTML5 and I would like to put a background img in the header, in vdd I want to put 4 images and I want them to change on every page refresh, I do not want a slider, site see an image and in each loading of the page...
asked by 21.11.2017 / 00:57
1
answer

Attach a footer type element in the page footer

I'm doing a job for college where we were instructed to take advantage of the new HTML5 semantic tags (nav, section, footer, etc). I'm having trouble fixing the footer at the bottom of the page. I've tried using CSS and jQuery, but nothing came...
asked by 06.06.2014 / 07:30
2
answers

Use more than one h1?

If I've already used a h1 to set the logo / title of my Header, can I use any more h1 on the page? or just h2 ..? I can not remember where I read, but can I use h1 in each article or section? <header> <h1>logo</h1> &...
asked by 11.07.2016 / 10:27
1
answer

How to change an HTML document 4 to HTML 5?

I have a project already done, done in HTML 4.01, how can I change it so it recognizes HTML 5? I can only change this: < !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" > by: < !DOCTYP...
asked by 15.04.2015 / 19:24