Questions tagged as 'html'

2
answers

Is it correct to concatenate PHP in JavaScript?

I often use this method, but I do not know if it is appropriate, to redeem the id in JS I use echo php <script type="text/javascript" src ="js/jquery.js"></ script> <script type ="text/javascript"> $("document").ready(functi...
asked by 09.01.2016 / 15:24
4
answers

How to tell if an element was clicked using pure Javascript

How to tell if a descendant of a <li> was clicked using pure Javascript. <div id="list"> <a href="#">one</a> <a href="#">two</a> <a href="#">three</a> </div> Using...
asked by 02.04.2014 / 02:23
3
answers

Why does height not accept percentage?

I created this Fiddle as a test. I want to have split screen half green, half red, why is it in the height property I put the value followed by "%" to div disappears? Being here says that you can use "%".     
asked by 09.04.2015 / 11:54
3
answers

Is it ideal to build forms using table or div?

I have a form to develop, there will be 100 questions divided into blocks (they will have to be invisible, push forward and back, block validation etc), the form page will probably be very large. <table cellpadding="0" cellspacing="5" class...
asked by 02.09.2015 / 14:40
2
answers

Is there any difference between clip property and overflow?

Studying the clip property I came across the following statement:    The clip quer property works similarly to overflow   with some differences. This gave me some doubts: Is this a true statement? What would these diff...
asked by 18.04.2017 / 03:32
3
answers

Create markup with predefined symbols

I did not know how to choose a specific title in the face of my doubt, so it was this very vague way. I've been trying to do the following for a while: Assuming I have <p> : <p>Olá, $está tudo$ bem?</p> I ne...
asked by 15.11.2015 / 23:05
1
answer

Div Can Be Dragged

I would like to allow users to move some things from my site. Of the type, the user could drag the menu somewhere else to better position the reading.     
asked by 17.05.2015 / 00:45
5
answers

Distribute li list in two columns

I'm trying to create a list with 4 blocks, but they are not aligned side-by-side correctly, look like this: Iwouldlikeittolooklikethis: HTML: <li></li> <li></li> <li></li> <li></li> CSS...
asked by 03.12.2014 / 04:31
2
answers

How to traverse string and replace ** with b / b

Lately I have used some systems that have the following function, when writing a text between ** it turns this text in bold for example: July * henrique * dos Santos Expected result will be: Julio henrique dos Santos I thoug...
asked by 01.11.2018 / 21:14
1
answer

What is an adjacent sibling? In what does it differ from a brother node?

A concept that confuses me when talking about HTML is adjacency , and we sib >. What's the difference between siblings and adjacent siblings ?     
asked by 16.06.2018 / 00:50