Questions tagged as 'html5'

1
answer

How to display asterisk in fields with required with css?

I have a form with some mandatory fields and some not. How can I automatically insert an asterisk into the label of each field with required via css? <div class="form-group col-md-4"> <label for="cod_produto">Código do Pr...
asked by 27.07.2016 / 21:36
4
answers

What is the canvas tag for?

I was searching some information and saw that there is a tag called <canvas> in HTML5. What does canvas tag do? Is it only for geometric shapes? If it is possible and feasible, could you give an example? In this other qu...
asked by 28.06.2017 / 20:07
1
answer

HTML Custom Attributes

I am developing a system for 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, for example: <span qtd='20'>Alguma coisa...</span&g...
asked by 17.03.2017 / 18:08
2
answers

Abalone shape with CSS how to do? How to make a shape in this half-rounded format?

I'd like to make an element half round, it's not an ellipse, not a circle, and not an element with border-radius . It is a half-rounded way as you can see in the image below and I could not do it with CSS. Itriedtogetthisshakenform,but...
asked by 19.12.2018 / 12:09
1
answer

How to prevent pseudo-element (before or after) inside a clickable tag?

Is there any way to prevent the pseudo-element ::after or ::before from a <a> link becoming part of the link itself? My idea was to use ::after in a <a> link tag, this ::after would be u...
asked by 04.09.2018 / 20:17
2
answers

Mixing Javascript libraries in a project

I wonder if it's not good practice to load several different Javascript libraries into one application. For example, the project has an X deadline for delivery, but should be done in AngularJS but the developer knows more about jQuery which m...
asked by 20.09.2015 / 00:12
1
answer

Write on the Javascript screen

I need to make an area on the form that the user digitally signs with a touch screen pen to store the signature of the same. As if he were writing on paper but on screen. I read about the Canvas but I just learned to make lines, rectangles...
asked by 02.03.2017 / 20:20
2
answers

Preload, prefetch and preconnect, what are they for?

I see in several sites these Preload, prefetch, and preconnect values in the attr rel of certain links, but I do not quite understand their functionality. For what exactly do they serve? When to use?     
asked by 18.01.2018 / 15:11
1
answer

How to make a background of balls with CSS?

I was wanting to make a dotted background, like a lot of balls to do background of a site, Example of what I'm trying to do. IsitpossibletoachievethisresultwithCSSonlywithoutneedinganimage?Itriedwithrepeating-radial-gradient,butitd...
asked by 19.10.2018 / 19:53
1
answer

Semantically, which tags should I use for icons?

I have a navigation menu with some icons using @font-face . Each item in this menu has: the icon (with ::before ); text, explaining the function of that link. . It turns out that when the page loads on a smaller device, I wan...
asked by 26.10.2014 / 22:11