Discussion
Which HTML tag is NOT valid in strict DHTML structure ?
Answer: B
The tag not valid in the strict structure is <font>.
The <font> element sets typeface, size and colour directly in the markup. HTML 4.01 deprecated it and left it out of the Strict document type (and XHTML Strict), which keeps structure in HTML and presentation in CSS. DHTML is built on exactly that split: HTML for structure, CSS for appearance and JavaScript to change both through the DOM.
<script>, <span> and <div> are all valid in Strict, and they are the core of DHTML: scripts manipulate div and span elements to show, hide, move and restyle content.
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