HTML and CSS Reference
In-Depth Information
Layout Coding Chart
Task
Tag
Example
Set up a Web page
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
<html>
<head>
Meta tags, JavaScript, style
sheets go here
<title>The page's title goes
here</title>
</head>
<body>
Whatever you want to appear on
the screen goes here
</body>
</html>
Format text
Create a paragraph
<p>
<p>This is a paragraph.</p>
Align paragraph right;
center paragraph
<p align=”right”></p>
<p align=”center>This paragraph
is centered
in this cell by using the
align attribute.</p>
<p
align=”center”></p>
Make text bold
<b></b>
<b>This text is bold.</b>
Indent text
<ul></ul>
<ul>
This text is indented.
</ul>
Create
bulleted list
<ul>
<li>
</ul>
List item
List item
Create numbered list
<ol>
<li>
</ol>
1. Item #1
2. Item #2
Search WWH ::




Custom Search