Page 25 - modular_v2.0_HTML&_CSS_Fb
P. 25
Step 2 Locate the file and double-click it. Web page opens in your web browser window.
Web page in web browser
BASIC HTML TAGS
HTML provides various tags such as <HTML>, <HEAD>, <TITLE>, <BODY>, and many more.
Let's discuss these tags in detail.
The <HTML> Tag
The <HTML> tag tells the web browser that the text contained between <HTML> and </HTML>
is a web page and can be viewed using a web browser. Every web page coding must starts with
the <HTML> tag and ends with the </HTML> tag.
The <HEAD> Tag
The <HEAD> tag defines header area of your web page such as title. The information given in
<HEAD> tag tells the browser that this information is not to be shown on the web page. The
<HEAD> is a container tag used in pair as <HEAD> and </HEAD>. Every web page coding must
have its header tag.
The <TITLE> Tag
The <TITLE> tag tells the web browser that the text contained between <TITLE> and </TITLE>
does not form part of the web page. It will be shown on the Title Bar of your web browser. The
use of <TITLE> tag is not mandatory. If you do not want to give title to your web page, you can
skip it. Your web browser will show file name and its path as title of your web page.
The <BODY> Tag
The <BODY> tag tells the web browser that the text contained between <BODY> and </BODY>
tags is to be shown on the web page. It is a container tag. The <BODY> tag has the following
attributes:
STYLE: This attribute allows inline CSS styling directly on the <BODY> tag.
<BODY STYLE="COLOR: BLACK;">
23
HTML—An Introduction

