Questions tagged as 'html5'

2
answers

How to apply scrollbar only in the tbody element in an HTML table?

How to apply scrollbar (scrollbar) only to element tbody , thus leaving element caption and thead fixed in table, without moving when scrollbar moves. > Below is the HTML and CSS of the table: bo...
asked by 10.06.2016 / 18:56
2
answers

How to include an action in the button to register with HTML5?

I have the following code: <form action="paginas/login.php"> <p id="log">Usuário: </p> <input id="cmpG" type="text" name="usuario"/> <p id="log">Senha: </p> <input id="cmpG" type="password" name="...
asked by 06.09.2015 / 02:41
1
answer

Back to top button with CSS only. Mild scrolling with only CSS possible?

I know that here on the site there are a lot of Soft Scroll and Button issues for "back to top" ( back to top ), but they all involve JavaScript or jQuery, but this não is my goal. I would like to make or know if it is now possib...
asked by 29.10.2018 / 13:19
1
answer

How to put signals between td

How can I put signs or images in the middle of the edges of a table, as in the image?     
asked by 04.11.2016 / 23:09
2
answers

Function Optimization (probably with for loop)

I'm having difficulty developing when we talk about for ... The basics I can understand now in practice ... People have developed this code and I believe it can be reduced to a few lines with. Notice that in the input range change it appears...
asked by 24.01.2017 / 22:47
2
answers

How to make a vertically zebrated table (toggle column colors)?

I know how to make a horizontally zebrated table, ie each row with alternating colors (the famous color yes and no color). I wanted to know now how I could by css to change the colors of the columns: the first column of a color and the second...
asked by 08.04.2017 / 17:56
3
answers

Clearing form fields

I have the following encoding and would like to clear the form from all fields that have the same name . But I do not know why it does not clear the fields PS: What properties of input text can I use for this kind of thing?...
asked by 17.05.2018 / 20:47
2
answers

Turn text into italic on hover!

Well, I have a paragraph and I want it to stay with font-style: italic; when I move the mouse over, what properties should I do in :hover ?! I would like it to be a 0.3-second transition     
asked by 23.12.2017 / 14:25
1
answer

Use JavaScript to change ownership in CSS

I'm not able to make it work, I have a retractile side menu and a button on a bar in the header. I set my menu to margin-left: -250px; and wanted it when I pressed the button it would go to margin-left: 0; , thus making the menu app...
asked by 16.04.2015 / 21:18
1
answer

What is the prefix attribute for the html element?

Why is the prefix attribute used in html elements? And in HTML5, can I also use it? Thank you! <html prefix="og: http://ogp.me/ns#">     
asked by 23.03.2016 / 01:36