What are the rules to write attributes in HTML?
Answers
Answered by
1
Answer:
the rules to write attributes in HTML are
1 element names are not case sensitive.eg.
<BR> is same as<br>.
2. attribute names are also not case sensitive.eg_ <HR SIZE=5> is same as <HR size=5>.
3.element names can't contain space.
4. element can be nested.eg _ <b> <u> text <\u> </b> (correct order)
<b> <u> text <\b> </u> (incorrect order).
Similar questions
Sociology,
2 months ago
Computer Science,
2 months ago
Social Sciences,
2 months ago
Math,
5 months ago