0% found this document useful (0 votes)
11 views

Creating Web Age Using HTML

This document provides an introduction to HTML and how it can be used to create web pages. It explains that HTML uses tags to tell browsers how to display text and images. Some key tags discussed are paragraph (<p>), bold (<b>), underline (<u>), horizontal rule (<hr>), list item (<li>), and image (<img>). It also covers how to add hyperlinks using the anchor (<a>) tag and describes the basic HTML structure that forms the skeleton of all web pages, including <html>, <head>, <body>, and <title> tags.

Uploaded by

Christine
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Creating Web Age Using HTML

This document provides an introduction to HTML and how it can be used to create web pages. It explains that HTML uses tags to tell browsers how to display text and images. Some key tags discussed are paragraph (<p>), bold (<b>), underline (<u>), horizontal rule (<hr>), list item (<li>), and image (<img>). It also covers how to add hyperlinks using the anchor (<a>) tag and describes the basic HTML structure that forms the skeleton of all web pages, including <html>, <head>, <body>, and <title> tags.

Uploaded by

Christine
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Unit 2.

Creating a web page using html


Objectives for this unit
In this unit you will learn:
> How html can be used to display the contents of
web pages.
> How tags are used in html code.
> How you can create hyperlinks using html code.
> How to create a simple web page.
HTML basics
> HTML stands for HyperText Mark-up Language.
> It is like a code that tells a browser (e.g. Internet Explorer) how
to display the text and images on a web page.
> You have to type in a special code to make it work, e.g.
– <HTML>
– <p> My first html web page </p>
– </HTML>
HTML tags
> HTML uses tags like this < >
> You put letters between the tags to mean different things. For example:
– <p> is used to show the start of a paragraph
– <b> is used to show that bold will be used
> HTML uses start tags (like those above) and end tags. For example:
– </p> is used to show the end of a paragraph
– </b> is used to show that bold will no longer be used
> For example, the code:
– <p> I really love <b> HTML </b> </p>
Would appear as:
I really love HTML
More HTML code
> Other useful tags include:
– <u> and </u> to start and end underline
– <hr> adds a horizontal line
– <li> adds a list element
– <img src => can be used to add an image
– <a href = “http://www.bbc.co.uk”> adds a hyperlink
Basic HTML Structure
> Every webpageis built using HTML and has a basic structure
which other codes are built on. See the html codes below:

<!DOCTYPE html> – (declares the document as an html type)

<html> – (the container for all other html elements)

<head> – (House logical tags used to pass information to the browser e.g.
<link>, <title>, <meta>, <base>)

</head>

<body> – (house all tags used to put the content of the webpage that is
displayed to the viewer)

</body>
</html>

You might also like