Semantics in HTML Day 4 Flashcards
what does a paragraph tag do?
<p>A paragraph tag is used to wrap a multi-line body of text</p>
what does a heading1 tag do and how many heading tags are there?
<h1>A heading1 tag is used to denote the largest title on the page</h1>
there are six heading tags
what are lists?
Lists are used to contain a series of list elements. These may be ordered or unordered but must contain at least one element. There are three different types of HTML list tags
how do you denote a unordered list?
<ul> <li>Unordered List</li> <li>Ordered List</li> <li>Definition List</li> </ul>
how do you denote an ordered list?
<ol> <li>First</li> <li>Second</li> <li>Third</li> </ol>
what is a definition list and how do you denote it?
it is used to hold definition data and term elements.
<dl>
<dt>Unordered List</dt>
<dd>An HTML element made up of list elements in no particular order</dd>
<dt>Ordered List</dt>
<dd>An HTML element made up of list elements in order</dd>
<dt>Definiton List</dt>
<dd>An HTML element with definition term and definition data elements</dd>
</dl>
how do you denote a link?
using anchor tags:
<a>App Academy</a>
how do you denote a image tag?
‘<img></img>`