Difference between revisions of "Quiz - HTML"

From ProgZoo
Jump to navigation Jump to search
Line 40: Line 40:
     <div class='d'>Entity</div>
     <div class='d'>Entity</div>
     <div class='d'>Tag name</div>
     <div class='d'>Tag name</div>
  </div>
  <div class=q>The html would be rendered as:
    <div class='d y'><div style='color:red'>This &amp; that</div></div>
    <div class=d><div style='background:red'>This &amp; that</div></div>
    <div class='d'><div style='color:red'>This <br> that</div></div>
    <div class='d'><div>color:red' This &amp; that</div></div>
    <div class='d'><div style='color:red'>This &amp;amp; that</div></div>
   </div>
   </div>


</div>
</div>

Revision as of 21:09, 6 September 2021

Consider the html fragment

<div style='color:red'>This &amp; that</div>
The term style is best described as:
Attribute name
Attribute value
Closing tag
Entity
Tag name
The term &amp; is best described as:
Attribute name
Attribute value
Closing tag
Entity
Tag name
The term </div> is best described as:
Attribute name
Attribute value
Closing tag
Entity
Tag name
The term 'color:red' is best described as:
Attribute name
Attribute value
Closing tag
Entity
Tag name
The term div is best described as:
Attribute name
Attribute value
Closing tag
Entity
Tag name
The html would be rendered as:
This & that
This & that
This
that
color:red' This & that
This &amp; that