Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

ICT NOTES

CSS FORMAT:
<!DOCTYPE html>
<html>
<head>
<style>
p

{color: #00FFCC;
text-align: left;
text-decoration: none;
text-transform: lowercase;
border: 1px solid #000000;
padding: 30px;
margin: 50px;

}
</style>
</head>
</html>

LINKING CSS:
<!DOCTYPE html>
<html>
<head>
<link rel=stylesheet href=FILENAME.css>
</head>
<body>
*TEXT*
</body>
</html>

LINKS
<a href="website"> DESCRIPTION </a>
<img src="FILENAME.jpg" width="(pixels)" height="(pixels)"> OR
<img src="wrongname.gif" alt="HTML5 Icon"
style="width:128px;height:128px;">
<a href="mailto:someone@example.com?Subject=Hello%20again">Send
Mail</a>

TABLES
Table is <table>
Each row is <tr>
Headers/titles in a table are <th>
Each cell or data entry is <td>

Colspan and Rowspan


<th colspan="2">Telephone</th>
<th rowspan="2">Telephone</th>

You might also like