Simple HTML Cheat Sheet

0
435

Rich’s Simple HTML Cheat Sheet

 

<h1>This is a heading</h1>      <b>This is bold</b>       <i>This is itallic</i>

<br />     = New line       &nbsp;   = Extra Space

<a href=”contacts.htm”>Contact Form</a>    = Link

<img src=”images/picture.jpg” />       = image

<font size=”3″>hello world</font>     = changes font size

Lists

<ul>
<li>List item1</li>
<li>List item2</li>
</ul>

Tables

<table>
<tr>
<td>top left</td>
<td>top right</td>
</tr>
<tr>
<td>bottom left</td>
<td>bottom right</td>
</tr>
</table>

Basic Page

<!DOCTYPE html>
<html>
<head>
<title>Title of page – Shows up as link in Google</title>
<meta name=”description” content=”Description of page goes here, make it long.”>
<meta name=”keywords” content=”enter, keywords, here”>
</head>
<body>
All content here between body tags
</body>
</html>

LEAVE A REPLY

Please enter your comment!
Please enter your name here