+ 1

i dint understand what elements do

can someone tell me briefly plx

19th Jun 2016, 10:53 AM
Awais
Awais - avatar
8 Answers
+ 4
Hi Awais. with the last example you did technically the <br/> will work but you would not see the effect of it since there is no content or element afterwards. a better example would be <p>go to<br/>school</p> which would render like this. go to school
23rd Jun 2016, 1:11 AM
Rudolph Mims
Rudolph Mims - avatar
+ 2
Element is written using start and end tag example <body></body> and with the content in between. Example <body><p> text here </p></body>
19th Jun 2016, 12:44 PM
Nickey Pickorita
Nickey Pickorita - avatar
+ 1
element represents one complete individual component ! and there r two types of elements -1)Container elements i.e. those who need starting as well as closing tags e.g -<html> </html> 2) void elements i.e. those only needs the starting tag eg.<BR>
20th Jun 2016, 2:56 AM
Priyadarshika Saha
Priyadarshika Saha - avatar
+ 1
Element is composed of opening tag, content and closing tag. ex. <p>Hello</p>
26th Jun 2016, 5:45 AM
Ednalie Coronado
Ednalie Coronado - avatar
0
They contain the content and tell the computer what to do with the content depending on the elements and tags you use
19th Jun 2016, 12:26 PM
Philip Andelic
Philip Andelic - avatar
0
element specifies the containt that what it should be on webpage like the table tag is to show a table on the webpage
19th Jun 2016, 7:11 PM
Nishit Zinzuvadiya
Nishit Zinzuvadiya - avatar
0
idk to
26th Jun 2016, 9:22 PM
vincenzo vanwijk
vincenzo vanwijk - avatar
- 3
thnkxx and for example if i type <p>go to school<br /></p> than will it automatically do br fuction
19th Jun 2016, 1:54 PM
Awais
Awais - avatar