Kisi bhe Complete TAG ko hum Element Kehte hain
Compelte TAG ka matlb Opening tag+ Content+closing tag Aik Tag koi bhi , jiky mutaliq hai wo content , aur end mein closing tag
Example = <p> this is content </p> This All is an Element
Example = <p> this is content </p> This All is an Element
Empty Element
Ab kuch Tags mein content nahi bhi hota, unko hum empty element keh sakte hain Ya kehte hain.
for example <br> , <img> , Same like Matlib yh zaroori nahi hai k , open k sath closing bhi ho.
Nesting of Element:
Nesting matlib aik element k ainder dosra element
for example
<body> k ainder
<header>
</header> tag
</body>
like more
Aue nesting hum kitni bhi trah kr saktein hain.
0 Comments