HTMLHTML Tutorial
About HTML
HTML Codes/GeneratorsGetting Started HTML Elements HTML Formatting HTML Attributes HTML Colors HTML Links HTML Images HTML Meta Tags HTML Comments HTML Forms HTML Tables HTML Image Maps HTML Frames HTML Entities HTML Layouts HTML Styles HTML Scripts HTML Website Templates Website Hosting Summary HTML Tags HTML 5 Tags Create a Website |
HTML FormattingYou may be familiar with some of the formatting options that are available in word processing applications such as Microsoft Office, and desktop publishing software such as QuarkXpress. Well, many of these formatting features are available in HTML too! This lesson contains some of the more common formatting options. HeadingsThere is a special tag for specifying headings in HTML. There are 6 levels of headings in HTML ranging from Typing this code:
Results in this: Heading 1Heading 2Heading 3Heading 4Heading 5Heading 6BoldYou specify bold text with the Typing this code:
<b>This text is bold.</b>
Results in this:
This text is bold.
ItalicsYou specify italic text with the Typing this code:
<i>This text is italicised.</i>
Results in this:
This text is italicised.
Line BreaksTyping this code:
<p>Here is a...<br />line break.</p>
Results in this: Here is a Horizontal RuleTyping this code:
Here's a horizontal rule...
<hr />
...that was a horizontal rule :)
Results in this:
Here's a horizontal rule...
...that was a horizontal rule :) Unordered (un-numbered) ListTyping this code:
Results in this:
Ordered (numbered) ListNote, that the only difference between an ordered list and an unordered list is the first letter of the list definition ("o" for ordered, "u" for unordered). Typing this code:
Results in this:
We will be covering more HTML tags throughout this tutorial, but before we do that, you should know about attributes. |
Need Website Content?
Get unique, quality digital content for your website.
|