Discussion
Choose the correct statement of Hypertext Markup Language (HTML) :
Answer: B
The correct statement is that in traditional HTML, the close tag for some elements is optional but not encouraged.
Traditional (SGML-based) HTML lets authors omit the end tags of certain elements, such as p, li, td and tr, because the parser can infer where they end. It is allowed but not good practice.
XHTML is XML, which must be well-formed: every element must be closed. So the options saying close tags are optional in XHTML are wrong, and 'None of the mentioned' is wrong because statement (b) is correct.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development