HTML Basics - A Simple Guide To HTML
HTML Basics - A Simple Guide To HTML
contact me
HTM L Basics
Once you have the essential tags sorted out, there are a number of basic tags you will use a lot in
order to add content such as:
All of these must appear between the <body>and </body>tags, and you can learn more about them by
following the links shown.
Headings
<h1> A Heading </h1>
Use headings for titles and subtitles, and make some text stand out from others. See text formatting
tags.
Paragraphs
<p> Some text </p>
Most content on a simple web page will appear in paragraphs or sections. See division tags.
Links
<a href="home.html"> My homepage </a>
Links are necessary for users to jump from one page to another. See linking tags.
Images
<img src="photo.jpg">
Adding your holiday photos or other images to your web page is fairly simple. See image tags.
Example:
Below is an example of some of the basic tags explained above
<html>
<head>
<title>this is the title</title>
http://www.simplehtmlguide.com/basics.php 1/3
11/5/2015 HTML Basics - A Simple Guide to HTML
</head>
<body>
<h1>My Heading</h1>
<p>This is the first paragraph of text.</p>
<p>This is the second paragraph of text.</p>
<p>An image: <img src="photo.jpg"> </p>
<p>A link: <a href="http://www.simplehtmlguide.com"> html guide </a></p>
</body>
</html>
See live demo of this example or open in a new window. (Note: c lose window or tab to return to the guide)
39
Guide Topic s
What is HTML?
What is CSS?
Essential Tags
The Basics
Section Divisions
Text Formatting
Images
Linking Tags
Lists
Tables
Frames
Forms
Ext ra Topic s
Miscellaneous
Colour Codes
Special Characters
JavaScript
Java Applets
YouTube Videos
http://www.simplehtmlguide.com/basics.php 2/3
11/5/2015 HTML Basics - A Simple Guide to HTML
Other Resources
Enable UC auto page to scroll all the way down through pages! Enable
http://www.simplehtmlguide.com/basics.php 3/3