HTML-syntax-Q&A Flashcards
Give five examples of HTML element types.
- <h1></h1>— <h6></h6>
- <div></div>
- <span></span>
- <p></p>
- <ol></ol>
Plus many more!
What is the purpose of HTML attributes?
Attributes tell us more about the content of that element.
I.E. ‘src’, ‘href’, ‘alt’….
Give an example of an HTML entity (escape character).
Less-than sign
& lt;
& #60;
Greater-than sign
& gt;
& amp;
Ampersand
& amp;
& #38;
Quotation mark
& quot;
& #34;
Cent sign
& cent;
& #162;
Pound sign
& pound;
& #163;
Yen sign
& yen;
& #165;
Euro sign
& euro;
& #8364;
Copyright symbol
& copy;
& #169;
Registered trademark
& reg;
& #174;
Trademark
& trade;
& #8482;
Left single quote
& lsquo;
& #8216;
Right single quote
& rsquo;
& #8217;
Left double quotes
& ldquo;
& #8220;
Right double quotes
& rdquo;
& #8221;
Multiplication sign
& times;
& #215;
Division sign
& divide;
& #247;