CSS + HTML Flashcards
H1
Biggest header
H6
Smallest header
CSS stands for
Casacading style sheet
HTML stands for
Hyper text markup language
Formula linking style sheet
< link rel =“stylesheet” href “Style.css”
Formula for image
<img src=“image.jpg” alt=“image”
How would you type this on a style sheet “Colour= Red=00 blue = ff Green= 00
0000ff
Table header
<th>
</th>
Table data
<td>
</td>
Table row
<tr>
</tr>
How to span column further in the table
<td colspan=“3” >
How to span width of row by in a table
<td rowspan=“2” >
Hyperlink formula
<p> <a href=“……”> </a></p>
How to expand width of table to 100% in CSS
table{
width: 100%;
}
What is unit for height and width in CSS
Pixels (px)
How to add a video in html
<video>
< source src="movie.mp4"
type="video/mp4">
</video>