Questions tagged as 'html5'

2
answers

What is the output tag for?

I'd like to know what the <output> tag is for. I saw this example here on the internet: <form onsubmit="return false" oninput="o.value = a.valueAsNumber + b.valueAsNumber"> <input name="a" type="number" step="an...
asked by 10.07.2018 / 21:35
3
answers

How to open an .php file that is in a subdirectory?

My index.php has this script inside it: <?php $pagina = empty($_GET['p']) ? 'home' : $_GET['p']; switch ($pagina): case 'contato': $titulo = 'Contato '; $keywords = ''; $descricao = ''; break; case 'privacidade': $tit...
asked by 29.08.2018 / 18:31
1
answer

Is it correct to name html tag attributes arbitrarily?

I'd like to know about creating and manipulating attributes in html that are created . We have the attributes already known as id , class , etc. that we put in the tags so we can manipulate them. I went in search of other alternatives of name...
asked by 04.02.2016 / 15:04
1
answer

Div appear in the bottom (Superscrollorama)

I have a problem with Scrollorama. I would like the div to start appearing already in the bottom, but it is only appearing when I am already in the middle of the site. The class: $(document).ready(function() { var controller = $.superscroll...
asked by 25.02.2014 / 00:52
0
answers

In CSS what is the difference between Pixel Density and Pixel Ratio? How drives like DPI, DPCM, and DPPX work

With the "popularization" of the Retina screens , mainly on Apple devices, I have seen some people using media queries with measures like: @media (-webkit-min-device-pixel-ratio: 2) { ... } @media (min-resolution: 2dppx) { ... } But I stil...
asked by 08.11.2018 / 13:06
1
answer

With CSS is there any way to change the style of Text-Overflow: Ellipsis?

Imagine that I have a situation where the text is larger than the container , so I'll use text-overflow: ellipsis to put the 3 dots ... showing that the text goes on and on inside container has more content, so far so good. T...
asked by 13.11.2018 / 11:19
2
answers

How to use CSS style in application?

I created an app for Android using App Framework from Intel and did the build with PhoneGap. It has the visual style of the framework , but when I run it on the Android device, it uses the native, black look. How do I reverse this?  ...
asked by 28.08.2014 / 15:47
6
answers

How to change the text of the title element?

Follow the code below: $(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><h2id="1ano_card_title" class="car...
asked by 14.02.2018 / 15:43
3
answers

Is it possible to create a type element with a CSS Stamp?

What is the best way or best way to build a CSS-like letterhead element? (at the moment I did not want to have to use SVG) I'm trying to build this form with HTML / CSS and the option I have at the moment does not please me. TheoptionIf...
asked by 30.08.2018 / 19:32
1
answer

Force javascript to cancel field register with required (HTML 5)?

I have a registration field that is required by HTML5. However, by clicking the unsubscribe button, HTML5 does not let Javascript return to the previous page! = (Requires that I fill in that required field. How to proceed? 'click button#bac...
asked by 12.02.2015 / 12:01