- 1
<h0>
it is also working same as normal text
6 Answers
+ 4
Yep that Because of there is no <h0> in html
+ 4
The rule for invalid tags in html is to ignore them... so:
<body>
<p>My text</p>
<myOwnTag>My text</myOwnTag>
</body>
... could be 'corrected' as:
<body>
<p>My text</p>
<div>My text</div>
</body>
... or even (depends mostly of browsers):
<body>
<p>My text</p>
My text
</body>
Unfortunaly, you cannot be sure of what way will be used to correct your invalid code, so you would be adviced to NOT USE such invalid tags at all ^^
+ 3
You mean different output?
0
ohh..thanks
but when i used this thing insted of <p> i got output
0
i mean, when i did something like..<h0>some text</h0> then i got output as some text
0
ohh thanks......