HTML fundamentals Flashcards
Learn the essential tags
What is the root element in English?
The root element is:
html lang=βenβ within tag symbols
What element contains meta information and with what attribute?
How do you specify the title of the document?
What is the element for a paragraph?
<p> </p>
(Will automatically word wrap)
What are the elements for paragraphs and how many types?
<h1> etc to <h6></h6></h1>
How can you preserve spaces and line breaks in text?
<pre> </pre>
How can you add emphasis or italicise text?
<em> for emphasis <b> for bold <i> for italic</i></b></em>
How do you add a line break?
<br></br>
What is the root element in English?
What element contains meta information and with what attribute?
How might you use the class attribute with span?
.tab {margin-left: 50px;} (in header)
<p><span>Text here</span></p> (body)
What is the element for a paragraph?
<p> </p>
(Will automatically word wrap)
What are the elements for paragraphs and how many types?
<h1> etc to <h6></h6></h1>
Give an example of stylesheet contents?
body {background-colour: powder blue;} h1 {color: blue;} p {color: red;} p.tab1 - p elements with class tab1
How does an html page link to a stylesheet?