HTML
HTML
Introduction
Contents
o Overviews of Web (WWW)
o Designing Good Website
o Types of Web Pages
o Web Page Design Tools
Web Development 1
What is Web?
A complex system of interconnected elements!!!!
What is a www(world wide web)?
Is basically a system of internet servers that support
specially formatted documents.
The documents are formatted in a markup language
called HTML(Hyper Text Markup Language) .
There are several web browsers that make it easy to
access the www popular ones are Fire Fox and
IE(internet explorer).
How the Web Works?
WWW use classical client / server architecture
◦ HTTP is text-based request-response protocol
HTTP
Page request
HTTP
Server response
Server running
Client running a
Web Server
Web Browser
Which one is a
Software (IIS,
host? Apache, etc.) 4
Cont……..
What is a Browser?
◦ A Computer program with a graphical user
interface for displaying HTML files used to
navigate the world wide web.
◦ Eg:- IE ,Fire Fox, chrom……
Cont……..
What is a Web Server?
o Is a program that uses HTTP(Hypertext transfer protocol) to
serve the files that form web pages to users, in response to
their requests. which are forwarded by their computers
HTTP clients.
o Dedicated computers and appliances may be referred to as
web servers as well.
Cont……
When a user enters a URL into a browser
o e.g:-GOOGle.COM this request is passed to a domain name
server.
The DNS returns an ip address for the server that
hosts the website(eg :-68.178.157.132)
The browser requests the page from the web server
HTML/XHTML
HTML/XHTML HTTP
HTTP for
for
for
for display
display transport
transport
HTTP
Server
Clients URL/URI
URL/URI for
for PHP,
PHP, python
python etc.
etc.
(browsers) addressing for
addressing for interaction
interaction
8
What is a Web Page?
Web pages are text files containing HTML
HTML – Hyper Text Markup Language
◦ A notation for describing
document structure (semantic markup)
formatting (presentation markup)
The markup tags provide information about the
page content structure
9
Designing Good Website
A good website focus on user:
o Usability
o Purpose
o Communication
o Color
o Typeface
o Navigation
o Images
Types of Web Pages
There are basically two main types of website
o static and dynamic.
A static site is one that is usually written in plain HTML and what is in the code of
the page is what is displayed to the user.
A dynamic site is one that is written using a server-side scripting language such as
PHP, ASP, JSP, or Coldfusion.
In simplest terms, static Web pages are those with content that cannot change
without a developer editing its source code,
while dynamic Web pages can display different content from the same source code.
Dynamic webpages can connect with a database.
This enables client to input and manage data via a web-based series of
administration pages.
Web Page Design Tools
There are many different programs that you can use to create web documents.
o HTML Editors enable users to create documents quickly and easily by
pushing a few buttons. Instead of entering all of the HTML codes by hand.
o These programs will generate the HTML Source Code for you.
o HTML Editors are excellent tools for experienced web developers;
however; it is important that you learn and understand the HTML
language so that you can edit code and fix “bugs” in your pages.
o
Cont…..
Chapter 2
HTML
Contents
o Structure and Formatting,
o Tags, Header, Special tags
o Contents, Attributes,
o Body, Text and Color
o Special characters, Links,
o Tables, Lists and Forms
What is HTML?
HTML is a language for describing web pages.
Web is a complex system of interconnected elements.
Web page is a web document that is suitable for the
mobile device.
HTML Tags
HTML markup tags are usually called HTML tags
HTML tags are keywords surrounded by angle
brackets like <html>
HTML tags normally come in pairs like <b> and </b>
The first tag in a pair is the start tag, the second tag is
the end tag
Start and end tags are also called opening tags and
closing tags
HTML Documents = Web Pages
HTML documents describe web pages
HTML documents contain HTML tags and plain
text
HTML documents are also called web pages
The purpose of a web browser (like Internet Explorer
or Firefox) is to read HTML documents and display
them as web pages.
The browser does not display the HTML tags, but
Creating HTML Pages
An HTML file must have an .htm or .html file extension
HTML files can be created with text editors:
◦ NotePad, NotePad ++, PSPad
HTML editors (WYSIWYG Editors):
◦ Microsoft FrontPage
◦ Macromedia Dreamweaver
◦ Netscape Composer
◦ Microsoft Word
◦ Visual Studio 18
Cont…
Follow the 4 steps below to create your first web page
with Notepad.
1) Open notepad++
2) Write Some HTML
3) Save the HTML Page
o Name the file "index.htm" or any other name ending with htm.
19
HTML Structure
HTML is comprised of “elements” and “tags”
◦ Begins with <html> and ends with </html>
Elements (tags) are nested one inside another:
<html> <head></head> <body></body> </html>
21
test.html First HTML Page
<!DOCTYPE HTML>
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<p>This is some text...</p>
</body>
</html>
22
First HTML Page: Tags
<!DOCTYPE HTML>
<html>
<head> Opening
<title>My tag
First HTML Page</title>
</head>
<body>
<p>This is some text...</p> Closing
</body> tag
</html>
<!DOCTYPE HTML>
HTML
header
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<p>This is some text...</p>
</body>
</html>
24
First HTML Page: Body
<!DOCTYPE HTML>
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<p>This is some text...</p>
</body>
</html>
HTML body
25
Cont..……..
HTML Example
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
26
Cont…..…
Example Explained
◦ DOCTYPE defines the document type and the
version of the HTML that we are using
◦ The text between <html> and </html> describes an
HTML document
◦ The text between <head> and </head> provides
information about the document
27
Cont….…
◦ The text between <title> and </title> provides a title
for the document
◦ The text between <body> and </body> describes the
visible page content
◦ The text between <h1> and </h1> describes a
heading
◦ The text between <p> and </p> describes a
paragraph
28
HTML Page Structure
29
HTML Versions
30
HTML Elements
HTML documents are defined by HTML elements.
An HTML element is everything from the start tag to the end tag:
The start tag is often called the opening tag.
The end tag is often called the closing tag.
<p>…….</p>
Ex:- <tagname>content</tagname>
The element content is everything between the start and the end tag
Some HTML elements have empty content
Most HTML elements can have attributes
HTML Elements
Don't Forget the End Tag
Some HTML elements might display correctly even
<p>This is a paragraph
if you forget the end tag: is a paragraph
<p>This
style sheets.
The HTML <link> element is used to define external CSS
style sheets.
The Body Element
The BODY element of a web page is an important element in
regards to the page’s appearance.
Here are the attributes of the BODY tag to control all the levels:
TEXT=“yellow" to change the color of all the text on the page
(full page text color.)
Bgcolor=“blue” to change the back ground color.
Background=“hi.jpg”
!!!!!This element contains attributes about the page’s
background color, the background image, as well as the text
colors.
Background Color
It is very common to see web pages with
their background color set to white or
some other colors.
To set your document’s background color,
you need to edit the <BODY> element by
adding the BGCOLOR attribute.
The following example will display a
document with a white background color:
o <BODY BGCOLOR=“blue”></BODY>
TEXT Color
The TEXT attribute is used to control the color of all the
normal text in the document.
The default color for text is black. The TEXT attribute
would be added as follows:
<BODY BGCOLOR=“white”TEXT=“red”></BODY>
<html>
<head><title>background</
title></head>
<body>
<p>hi there!!!!!</p>
</body>
</html>
Solution
<html>
<head><title>background</
title></head>
<body background=“tt.jpg”
text=“red”>
<p>hi there!!!!!</p>
</body>
</html>
HTML Colors
Colors are displayed combining RED, GREEN, and BLUE light.
HTML colors are defined using a hexadecimal notation (HEX) for the combination
of Red, Green, and Blue color values (RGB).
The lowest value that can be given to one of the light sources is 0 (in HEX: 00).
The highest value is 255 (in HEX: FF).
HEX values are specified as 3 pairs of two-digit numbers, starting with a # sign.
RGB (Red, Green, Blue)
With HTML, RGB color values can be specified
using this formula: rgb(red, green, blue)
Each parameter (red, green, and blue) defines the
intensity of the color between 0 and 255.
For example, rgb(255,0,0) is displayed as red,
because red is set to its highest value (255) and the
others are set to 0.
Experiment by mixing the RGB values below:
CSS supports
140 standard color n
ames
.256 x 256).
http://www.vgdesign.com/color.html
Exercise
Use the color codes to change the background of the
script below?
<html>
<head><title>background</
title></head>
<body >
<p>hi there!!!!!</p>
</body>
</html>
HTML Headings
Headings are important in HTML documents.
Headings are defined with the <h1> to <h6> tags.
<h1> defines the most important heading while <h6>
<html>
defines the least important heading. <head>
<title>headings</title>
Use HTML headings for headings only.
</head>
<body>
<h1>This is a
Don't use headings to make text heading</h1>
<h2>This is a
◦ BIG or bold. heading</h2>
<h3>This is a
heading</h3>
</body>
</html>
Example of use of Heading
47
EX
<HTML>
<html> <HEAD>
<body> <TITLE> Example Page</TITLE>
</HEAD>
<h1>London</h1>
<BODY>
<p>London is the capital city of <H1> Heading 1 </H1>
England. It is the most populous <H2> Heading 2 </H2>
city in the United Kingdom, with a <H3> Heading 3 </H3>
metropolitan area of over 13 million <H4> Heading 4 </H4>
inhabitants.</p>
<H5> Heading 5 </H5>
</body> <H6> Heading 6 </H6>
</html> </BODY>
</HTML>
Web - Technology 48
Paragraphs, <P> </P>
Paragraphs allow you to add text to a
document in such a way that it will
automatically adjust the end of line to suite the
window size of the browser in which it is being
displayed. Each line of text will stretch the
entire length of the window.
<HTML><HEAD>
Heading 1
<TITLE> Example Page</TITLE> Paragraph 1,….
</HEAD>
<BODY></H1> Heading 1 </H1>
Heading 2
<P> Paragraph 1, ….</P> Paragraph 2,….
<H2> Heading 2 </H2>
Heading 3
<P> Paragraph 2, ….</P>
Paragraph 3,….
<H3> Heading 3 </H3>
<P> Paragraph 3, ….</P> Heading 4
<H4> Heading 4 </H4> Paragraph 4,….
<P> Paragraph 4, ….</P>
Heading 5
<H5> Heading 5 </H5>
Paragraph 5,….
<P> Paragraph 5, ….</P>
Paragraph example
50
Break, <BR>
Line breaks allow you to decide where the text
will break on a line or continue to the end of the
window.
!!!!!The <BR> element does not have a closing
tag.
<HTML>
<HEAD>
<TITLE> Example Page</TITLE>
</HEAD>
<BODY>
Heading 1
<H1> Heading 1 </H1> Paragraph 1,….
<P>Paragraph 1, <BR> Line 2
Line 2 <BR> Line 3 <BR>….
Line 3
</P>
</BODY> ….
</HTML>
Exercise
Fix the display of the poem below. Display
the poem over 4 lines.
<html>
<body>
<p>
My Bonnie lies over the ocean.
My Bonnie lies over the sea.
My Bonnie lies over the ocean.
Oh, bring back my Bonnie to me.
</p>
</body>
</html>
Web - Technology 52
Solution
<html>
<body>
<p>
My Bonnie lies over the
ocean.<br>
My Bonnie lies over the
sea.<br>
My Bonnie lies over the
ocean.<br>
Oh, bring back my Bonnie to
me.
</p>
</body>
</html>
Web - Technology 53
Horizontal Rule, <HR>
The <HR> element causes the browser to
display a horizontal line (rule) in your
document.
<HTML>
!!!!!!!<HR> does not use a closing tag,
<HEAD>
</HR>.
<TITLE> Example Page</TITLE>
</HEAD>
<BODY>
Heading 1
<H1> Heading 1 </H1> Paragraph 1,
<P>Paragraph 1, <BR>
Line 2
Line 2 <BR>
<HR>Line 3 <BR>
_________________________
</P>
__
</BODY> Line 3
</HTML>
Horizontal Rule, <HR>
Attribute Description Default Value
Height of the rule in
SIZE 2 pixels
pixels
Width of the rule in
WIDTH pixels or percentage 100%
of screen width
Aligns the line (Left,
ALIGN Center
Center, Right)
Sets a color for the
COLOR Not set
rule (IE 3.0 or later)
55
Exercise
Add blue horizontal line at the end of the poem you created
earlier. <html>
align="left" size="10" color="blue" width="50%"
<body>
<p>
My Bonnie lies over the
ocean.<br>
My Bonnie lies over the
sea.<br>
My Bonnie lies over the
ocean.<br>
Oh, bring back my Bonnie to
me.
</p>
</body>
</html>
solution
<p>
My Bonnie lies over the
ocean.<br>
My Bonnie lies over the
sea.<br>
My Bonnie lies over the
ocean.<br>
Oh, bring back my Bonnie to
me.
</p>
<hr align="left" size="10"
color="blue" width="50%">
HTML Formatting Elements
HTML uses elements like <b> and <i> for
formatting output, like bold or italic text.
Formatting elements were designed to
Web - Technology 58
HTML Formatting Elements
Cont…
Browsers display <strong> as <b>, and
<em> as <i>.
Web - Technology 60
Cont…
Web - Technology 61
Exercise
•Add extra importance to the word "degradation" in the
paragraph below?
.
<html>
<body>
</body>
</html>
Web - Technology 62
Solution
<html>
<body>
</body>
</html>
Web - Technology 63
Exercise
Emphasize the word "metropolitan" in the
text below.
<html>
<body>
<h1>Tokyo</h1>
</body>
</html>
Web - Technology 64
Solution
<html>
<body>
<h1>Tokyo</h1>
</body>
</html>
Web - Technology 65
Exercise
Apply subscript formatting to the number "2"
in the text below.
<html>
<body>
</body>
</html>
Web - Technology 66
Solution
<html>
<body>
<p>H<sub>2</sub>O
is the scientific term for
water.</p>
</body>
</html>
Web - Technology 67
Exercise
Add a line through (strikeout) the letters
"blue" in the text below
<html>
<body>
</body>
</html>
Web - Technology 68
Solution
<html>
<body>
</body>
</html>
Web - Technology 69
HTML Citations, Quotations, and
Definition Tags
Exercise
Use an HTML element to add quotation marks around
the letters "cool“
<html>
<body>
<p>I am so cool.</p>
</body>
</html>
Web - Technology 71
Solution
<html>
<body>
<p>I am so
<q>cool</q>.</p>
</body>
</html>
Web - Technology 72
Exercise
The letters "WHO" in the text below is an
abbreviation of "World Health Organization".
Use an HTML element to provide the specified
abbreviation of "WHO".
<html>
<body>
</body>
</html>
Web - Technology 73
Solution
<html>
<body>
</body>
</html>
Web - Technology 74
HTML Special Characters
Symbol Name HTML Entity Symbol
Copyright Sign © ©
Registered Trademark Sign ® ®
Trademark Sign ™ ™
Less Than < <
Greater Than > >
Ampersand & &
Non-breaking Space
Em Dash — —
Quotation Mark " "
Euro € €
British Pound £ £
Japanese Yen ¥ ¥
75
HTML Comments: <!-- --> Tag
76
Alignment
Some elements have attributes for alignment
(ALIGN) e.g. Headings, Paragraphs and
Horizontal Rules.
The Three alignment values are : LEFT,
RIGHT, CENTER.
<CENTER></CENTER> Will center elements.
ex:-<p align=“left>hi there</p>
HTML Lists
79
Html lists
Exercise
Add a list item with the text "Coffee, tea,
milk" inside <ul>
<html>
<body>
<ul>
</ul>
</body>
</html>
Web - Technology 81
Solution
<html>
<body>
<ul>
<li>Coffee</li
>
</ul>
</body>
</html>
Web - Technology 82
‘Type’ attribute
“TYPE” attribute changes the bullets types.
EX:-<UL TYPE=“square”>
Unordered list has three types : disc(default),
circle, square
For ordered list.
Exercise
Change the list below to display letters
instead of numbers.
<html>
<body>
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
</body>
</html>
Web - Technology 84
Solution
<html>
<body>
<ol type="A">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
</body>
</html>
Web - Technology 85
Nesting Lists
You can nest lists by inserting a UL, OL, etc., inside a list item
(LI).
EXample
<UL TYPE = “square”>
<LI> List item …</LI>
<LI> List item …
<OL TYPE=“i” START=“3”>
<LI> List item …</LI>
<LI> List item …</LI>
<LI> List item …</LI>
<LI> List item …</LI>
<LI> List item …</LI>
</OL>
</LI>
<LI> List item …</LI>
</UL>
Exercise
Solution
<H1 ALIGN="CENTER">SAFETY
TIPS FOR CANOEISTS</H1>
<OL TYPE=“a” START=“2”>
<LI>Be able to swim </LI>
<LI>Wear a life jacket at all times
</LI>
<LI>Don't stand up or move around.
If canoe tips,
<UL>
<LI>Hang on to the canoe </LI>
<LI>Use the canoe for support and
</LI>
<LI>Swim to shore
</UL> </LI>
<LI>Don't overexert yourself </LI>
<LI>Use a bow light at night </LI>
</OL>
Definition lists: <dl> tag
Create definition lists using <dl>
◦ Pairs of text and associated definition; text is in
<dt> tag, definition in <dd> tag
<dl>
<dt>HTML</dt>
<dd>A markup language …</dd>
<dt>CSS</dt>
◦ Renders without bullets
◦ Definition is indented
<dd>Language used to …</dd>
</dl>
89
Summary on Lists exercise
Create the following List
Solution
<ol type="1">
<li>Apple</li>
<li>Orange</li>
<li>Grapefruit</li>
</ol>
<ul type="disc">
<li>Apple</li>
<li>Orange</li>
<li>Grapefruit</li>
</ul>
<dl>
<dt>HTML</dt>
<dd>A markup lang…</dd>
</dl>
Image
<IMG>This element defines a graphic image on the
page.
Image File (SRC:source): This value will be a URL
(location of the image) E.g.
http://www.domain.com/dir/file.ext or /dir/file.txt.
Alternate Text (ALT): This is a text field that describes
an image or acts as a label. It is displayed when they
position the cursor over a graphic image.
Alignment (ALIGN): This allows you to align the image
on your page.
Width (WIDTH): is the width of the image in
pixels.
Height (HEIGHT): is the height of the image in
pixels.
Border (BORDER): is for a border around the
image, specified in pixels.
Exercise
Double the size of the image below.
<html>
<body>
<img
src="programming.gi
f" alt="Computer
Man"
width="48"
height="48">
</body>
</html>
Web - Technology 93
Solution
<html>
<body>
<img
src="programming.
gif" alt="Computer
Man"
width="96"
height="96">
</body>
</html>
Web - Technology 94
Html Tables
The <TABLE></TABLE> element has four sub-
elements:
Table Row<TR></TR>.
Table Header <TH></TH>.
Table Data <TD></TD>.
1. Caption <CAPTION></CAPTION>.
The table row elements usually contain table
header elements or table data elements.
Html Tables
<table border=“1”>
<tr>
<th> Column 1 header
</th>
<th> Column 2 header
</th>
</tr>
<tr>
<td> Row1, Col1 </td>
<td> Row1, Col2 </td>
</tr>
<tr>
<td> Row2, Col1 </td>
<td> Row2, Col2 </td>
</tr>
</table>
Nested Tables
Table data “cells” (<td>) can contain
nested tables (tables within tables):
<table> nested-tables.html
<tr>
<td>Contact:</td>
<td>
<table>
<tr>
<td>First Name</td>
<td>Last Name</td>
</tr>
</table>
</td>
</tr>
</table>
97
Exercises
Create the following table?
Solution
<html>
<body>
<table border="5" width="50%" height="50%">
<tr>
</html>
<td bgcolor="green" >
name
</td>
<td bgcolor="yellow">
age
</td>
</tr>
<tr>
<td bgcolor="red">
saba
</td>
<td>
<table border="6" width="30%"
align="center"><tr><td>20</td><td>40</td><td>5
0</td></tr><tr><td>60</td><td>400</
td><td>500</td></tr></table>
</td>
</tr>
</table>
</body>
Table Attributes
BGColor: Some browsers support background
colors in a table.
Width: you can specify the table width as an
absolute number of pixels or a percentage of the
document width. You can set the width for the
table cells as well.
Border: You can choose a numerical value for the
border width, which specifies the border in pixels.
CellSpacing: Cell Spacing represents the space
between cells and is specified in pixels
Table Attributes
CellPadding: Cell Padding is the space
between the cell border and the cell contents
and is specified in pixels.
Align: tables can have left, right, or center
alignment.
Background: Background Image, will be titled
in IE3.0 and above.
BorderColor,
Cell Spacing and Padding
Tables have two important attributes:
cellspacing cellpadding
10
3
Table Caption
A table caption allows you to specify a line of text
that will appear centered above or bellow the table.
<TABLE BORDER=1 CELLPADDING=2>
<CAPTION ALIGN=“BOTTOM”> Label For My Table
</CAPTION>
Cell[1,2] Cell[3,2]
Cell[2,2]
Cell[1,3] Cell[2,3]
10
7
Basic Table Code
<TABLE BORDER=1 width=50%>
<CAPTION> <h1>Spare Parts
<h1> </Caption>
<TR>
<TH>Stock Number</TH>
<TH>Description</TH><TH>List
Price</TH>
</TR>
<TR>
<TD bgcolor=red>3476-AB</TD>
<TD>76mm Socket</TD>
<TD>45.00</TD>
</TR>
<TR>
<TD >3478-AB</TD>
<TD><font color=blue>78mm
Socket</font> </TD>
<TD>47.50</TD>
</TR>
<TR>
<TD>3480-AB</TD>
<TD>80mm Socket</TD>
<TD>50.00</TD>
</TR>
Exercise
Row 1 Col 1
Row 2 Col 2
Row 2 Col 1
Row 3 Col 2
Solution
<Table border=1
cellpadding =2>
<tr> <th> Column 1
Header</th> <th>
Column 2 Header</th>
</tr>
<tr> <td colspan=2> Row
1 Col 1</td> </tr>
<tr> <td rowspan=2>Row
2 Col 1</td>
<td> Row 2 Col2</td>
</tr>
<tr> <td> Row 3
Col2</td> </tr>
</table>
Exersise
Solution
<TABLE BORDER
width=“750”>
<TR> <TD colspan=“4”
align=“center”>Page
Banner</TD></TR>
<TR> <TD
rowspan=“2”
width=“25%”>Nav
Links</TD><TD
colspan=“2”>Feature
Article</TD> <TD
rowspan=“2”
width=“25%”>Linked
Ads</TD></TR>
<TR><TD
width=“25%”>News
Column 1 </TD> <TD
width=“25%”><News
HTML Links
HTML links are hyperlinks.
Web - Technology 11
4
Cont…
<a href="url">link text</a>
The href attribute specifies the destination address (
http://www.google.com/html/)
The link text is the visible part
The link text does not have to be text. It can be an HTML
image or any other HTML element.
Ex:-
<a href=“www.google.com">Click here to go to google
home page</a>
Web - Technology 11
5
Cont…
The target attribute specifies where to open the
linked document.
Example
◦ <a href="http://
www.google.com/" target="_blank">Visit Google!</a>
Web - Technology 11
6
Cont…
Web - Technology 11
7
Exercise
Create a link that connects to yahoo home page?
Create a link that connects to another page, you
Web - Technology 11
8
Solution
<html>
<body> <html>
<body>
<a
href=“http://www.ya <a
hoo.com" >Click here href=“anotherpage.html
to go to yahoos home " >Click here to go
page</a> another page</a>
</body> </body>
</html> </html>
Web - Technology 11
9
Internal Links
Internal Links : Links can also be created inside large documents to
simplify navigation. Today’s world wants to be able to get the
information quickly. Internal links can help you meet these goals.
1. Select some text at a place in the document that you would like to
create a link to, then add an anchor to link to like this:
<A NAME=“bookmark_name”></A>
The Name attribute of an anchor element specifies a location in the
document that we link to shortly. All NAME attributes in a document
must be unique.
2. Next select the text that you would like to create as a link to the location
created above.
<A HREF=“#bookmark_name”>Go To Book Mark</A>
Or, create a link to the "Useful Tips Section" from another page:
<a href="http://www.w3schools.com/html_links.htm#tips">
Visit the Useful Tips Section</a>
Exercise
Create a link that will link to the title London?
Create a link from another page that will link
<html>
to the title london.
<body>
<h1align=“center”>Londo
n</h>
<p>London is the capital
city of England. It is the
most populous city in the
United Kingdom, with a
metropolitan area of over
13 million
inhabitants.</p>
</body>
Solution
<html>
<body>
<h1 align=“center”><a
name="london">London</a></h1>
<p>London is the capital city of England. It is the
most populous city in the United Kingdom,<br>
with a metropolitan area of over 13 million
inhabitants.</p>
<a href="#london">see about london</a>
</body>
</html>
information.
An input element can vary in many ways,