Questions tagged as 'html'

3
answers

How to preview a loaded image in a "file" input?

Description: I have an example here of how my system is working. EXAMPLE link HTML <input type=file> <input type=button class=hide value="Adicionar outro"> JAVASCRIPT function verificaMostraBotao(){ $('inp...
asked by 21.02.2014 / 19:53
4
answers

How to remove autocompletion of inputs?

I have my email / password input. But whenever typing an email that I already have saved login / password, the browser automatically fills in my form. How to solve?     
asked by 22.09.2014 / 22:01
2
answers

What is the difference between Meter and Progress in HTML5?

What's the difference between these two html tags, only the appearance (layout, color) is different? <meter min="0" max="100" value="22"></meter> <progress value="22" max="100"> </progress> What's the difference bet...
asked by 24.04.2014 / 18:01
3
answers

When should I use 'ul' elements?

Recently I was thinking about the structure of a component for a project in which we are trying to follow the semantic specifications of W3C, but I ended up with some doubt. Here is the component code: <div class="cmp-scrollBanner">...
asked by 22.05.2014 / 23:40
1
answer

How to create a glass pane in JavaScript?

I'm trying to create a " glass pane " in JavaScript, similar to or supported by Java . The goal is to offer a kind of interactive help to the user, where information about each element is superimposed on the screen, and all elements except the...
asked by 15.06.2014 / 08:31
2
answers

How to let the page background degrade with JavaScript?

It would look something like the image below; I have no idea how to do this. I do not want to use image, I want to generate with code.     
asked by 17.09.2014 / 04:22
3
answers

How to block special characters in the field

How do I not allow the user to enter special characters such as *-/+.,:;[]{}ªº^~?<> into the question field?     
asked by 08.10.2015 / 22:23
5
answers

How to use two CSS attributes at the same time?

The code: <!DOCTYPE html> <html> <body> <h1 style="color:#CC0099">Um dia eu aprendo</h1> <p style="color:red">This is a paragraph.</p> </body> </html> Do you see this <h1>...
asked by 05.08.2015 / 21:34
1
answer

Difference between keyup (), keydown () and keypress () [duplicate]

I would like to know the difference between keyup() , keydown() and keypress() , in my opinion I think they do the same thing, but what is the purpose of each? Performance improvement for each type?     
asked by 21.01.2016 / 14:38
4
answers

HTML / PHP Detect if form value changed

I have a form where I can change things like username , password , morada , etc. On the site I also use a session (login) for each user, which is defined by username . The problem is that by changing the form value of...
asked by 27.04.2015 / 11:35