HTML and CSS Flashcards
HTML
HTML is an interpreted language, used to describe the format and content of a webpage to a web browser. It uses tags as commands and each tag usually has additional attributes e.g.
is the tag
Width is an attribute
Height is an attribute
<p> </p>
Paragraph
<br></br>
Line break
Table
Table row
Table column
<h1></h1>
Heading 1
<img></img>
Include an image
<a>displayed link</a>
Hyperlink to a new page
<div></div>
Section of the document
<ol></ol>
n
Ordered/numbered list
<ul></ul>
Unordered list
<li>
</li>
List item
Defines the document type
Defines a comment
<a></a>
Defines a hyperlink
<b></b>
Defines bold text
Defines a documents body
A footer section in a document
Defines header for a document or section
Defines the root of a html document
<img></img>
Defines an image
Defines navigation links
CSS
Background-color
determines the colour of the background, can be specified as a named colour (e.g. red) or as red/green/blue in hex 6 digit number (e.g. A6F2CC)