Questions tagged as 'html5'

4
answers

JavaScript / JQuery - Means of removing the contents of a TD

How can I remove the contents of a td , for example this code: <table id="tblItens" width="400px"> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> </table>...
asked by 14.11.2017 / 16:16
2
answers

How to align items with HTML and CSS?

I'm having trouble aligning items again. I would like them to align the 3 inputs on the same line with margin, however they go down. #contato { margin-top: 120px; } #contato form { width: 100% } #contato form input { wi...
asked by 03.07.2018 / 20:46
2
answers

Visitor Counter

I want to create a visit counter online on my site, but I do not know where to start, it weighs a lot in the database? how to start?     
asked by 05.03.2018 / 02:50
2
answers

How to save JavaScript objects in JSON format in localStorage, and then deserialize them?

I'm getting values from a form in html, then I want to use a function to get these values and create an object, making them attributes of this object. Then I want to save this object in the browser's localStorage, in Json format, so I can get...
asked by 22.04.2018 / 21:15
3
answers

How to create HTML elements with JavaScript?

I have the following code JSFiddle It creates a div that gives the information to insert and when calling the context menu with the direct button opens a box to insert an image. My question is: In part: <div class="div-te...
asked by 21.09.2016 / 21:53
4
answers

How to make the event 'focusout' of an input?

I want to make an input appear when I click on the label , when I click outside the input, that is, focus on it, I would like it to disappear. HTML: <form action="/" class="search"> <fieldset> <label for="pesquisa...
asked by 21.01.2016 / 16:25
3
answers

Is there any specific Javascript event to detect when a datalist option is selected?

In Javascript, it is possible, through onchange , oninput and related, to detect if a certain input is changed. Example: var qs = function (el) { return document.querySelector(el); } qs("#input").addEventListene...
asked by 09.05.2018 / 14:46
1
answer

How to prevent content from a div rotating along with the rotate effect of css?

Good morning, everyone. I put the rotate effect on a div, but the inner content also spun together. How do I get it normal with standard alignment and the div continue with the rotate? example: .minha-div{-webkit-transform:scale(1.5)...
asked by 19.03.2018 / 16:53
3
answers

What are these two points at the beginning of a URL in CSS? [duplicate]

I created a css sheet, linked to the html to format it, after many attempts the code only accepted the formatting after I left it like this: h1 { background-image: url(../img/sobre-background.jpg); } However, I do not understand the 2...
asked by 29.01.2018 / 23:33
1
answer

Automatic textarea

Speak, people. I'd like to know how to allow automatic scrolling of textarea , for example, as soon as the user types something inside textarea , it changes height, according to what the user types. I've removed the arrow / scr...
asked by 01.09.2016 / 06:27