Guide To HTML Part1
Guide To HTML Part1
Part 1
Menu:
1. Opening notepad
6. Adding a heading
Activity!
EOS
Where do we start?
Open Notepad:
Windows Button All Programs Accessories Notepad
Basic Page
<html>
<body>
Search Engines
</body>
</html>
This will display the words Search Engines on the web
page.
EOS
EOS
EOS
Using Tags
Tags are used to tell Web Browser how to display text and
images
Tags are indicated by using < and >
Tags almost always work in pairs Start Tag and End Tag
Start tag example = <H1>
End tag example = </H1>
Tags indicate to the Browser how to display the
text sitting between the start and end Tags
EOS
EOS
Heading Tag
<html>
<body>
<H1>Search Engines</H1>
</body>
</html>
The <h1> tag sets text as a heading in style 1.
Valid tags are <h1>; <h2>; <h3>; <h4>; <h5>; <h6>.
What effect does changing the number have?
EOS
EOS
Task!
Hyperlink Tags
<html>
<body>
<h1>Search engines</h1>
<B><a href="http://www.yahoo.co.uk"> Yahoo</a></B><br>
<I>Excite</I><br>
<U>Google</U><br> The URL of a hyperlink must be
</body>
enclosed in quotation marks
</html>
(Shift + 2)
Task!
Add the hyperlinks for Excite and Google.
EOS
Slide 15
EOS