Questions tagged as 'html5'

2
answers

Copying an image from one div to another - Methods in Jscript

I have an image and a% div of%. By clicking on the image it has to be copied to the div conteudo-img , which methods can I use to make this copy and which is the most viable via javaScript . #images{ float:left; } #conteudo-im...
asked by 23.11.2017 / 12:35
2
answers

How to add titles above input and textarea?

How to add a title above input and text-area and add space between them? Ex: Thetitleyouwouldliketodoisrepresentedby"Your text" and the input by "Text here".     
asked by 07.09.2015 / 17:35
2
answers

Why does the download attribute not work?

I'm trying to hit a link code but I'm not getting the result I'd like, it's not working. How to proceed? <a href="http://www.w3schools.com/images/myw3schoolsimage.jpg" download="aaaa"> download </a>     
asked by 10.03.2016 / 19:25
2
answers

How to be less repetitive in my JavaScript codes?

My code looks big and clumsy, is there a way to make it smaller? Something like "easier to write", or less? Here's my example, as you can see, I need to repeat this block 5 times , to display only one button at a time and its <div>...
asked by 09.08.2016 / 02:31
2
answers

How to center the th header of an HTML table with css?

My table: <table id="tabela"> <th id="cabecalho" >Ação</th> <tr id = "linAcao" > <td><a href="#"><img src="Acao.jpg" title=""/></a></td> <td></td>...
asked by 23.05.2014 / 19:52
2
answers

Decrease Field Size Edit

Good morning. I'm a beginner, I'm trying to decrease the size of the edit column and I'm not getting it according to the image below. Can anyone help me? <thead> <tr> @*Campo Nome*@ <th class="col-xs-10 text-...
asked by 19.10.2018 / 13:55
2
answers

How to create "html canvas"? (I think it's new in html)

I was looking at websites and noticed a site that set up this example here: link . At first I did not call but later when I saw the html of that page vi that has a <hangout-module></hangout-module> It works as a 'canvas' only f...
asked by 08.02.2014 / 05:50
2
answers

Generating thumbnails through FileReader

I want to generate thumbnails of images that the user selects. My problem is that one of the images always generates 3 thumbnails Demo here: link     
asked by 07.03.2014 / 22:03
2
answers

Images in html or via css

Is there any advantage in loading an image via css with: background: url ('imagem.jpg'); instead of normally using it as: <img src="imagem.jpg"> ?     
asked by 29.12.2016 / 20:49
3
answers

mascara and form validation

I'm a beginner in programming, how do I insert a mask and a cpf validation in this script? It can be php or jquery. <h2>Novo Cliente</h2> <form action="add.php" id = "formCandidate" method="post"> <hr />...
asked by 21.01.2018 / 15:49