HTML &NBSP Body &NBSP Style: Sandeep Sir
HTML &NBSP Body &NBSP Style: Sandeep Sir
3
Objectives
A markup language:
Enables you to create attractive and
interactive websites.
Provides a way to describe the structure of a
Web page.
Specifies the code in the form of tags for
defining, processing, and presenting the
text on Web pages.
The Web pages can be of the following types:
Static
Dynamic
Introducing HTML (Contd.)
The Internet:
Makes the Web pages and websites accessible to the users.
Enables the organizations to share and access information.
Is an interconnected network of computers across the globe.
The World Wide Web (WWW):
Is a collection of resources on varied topics that can be
accessed through the Internet.
Is a collection of Web pages that are scattered but
interlinked.
Creating an HTML Web Page
Hyper Text Markup Language (HTML):
Is a versatile markup language that is used to
publish information as a Web page.
Provides tags that help in creating Web pages.
Allows the creation of hyperlinks to connect the
Web pages.
HTML is used to create Web pages using software
applications known as editors.
HTML editors are broadly classified into the
following categories:
Text editor
Graphic editor
Text Editor
A text editor is an application in which
the HTML code is written for
creating a Web page.
Notepad and EditPlus are examples of
text editors.
The HTML code written inside a text
editor is saved with the .htm or .html
extension.
Graphic Editor
<STYLE>
<BASE> <LINK>
<META> <SCRIPT>
12
Exploring the <HEAD> Tag (Contd.)
handheld
screen
Value text/css
projection
Description
Specifies that the Specifies the type
CSS styles are of the style sheet.
tv
defined for which
device or media.
Exploring the <HEAD> Tag (Contd.)
defer
charset src
The <NOSCRIPT> tag displays an alternate content on the browsers on which the
scripts have been disabled.
Exploring the <BODY> Tag
The body section:
Is the central part of the HTML
document required to display content
on the Web page.
Begins with the <BODY> tag.
Contains the actual visible content of
an HTML document.
Exploring the <BODY> Tag (Contd.)
The layout:
Specifies how various elements or content should be displayed on the Web page.
Is defined by using the following tags:
<DIV> <SPAN>
Exploring the <BODY> Tag (Contd.)
The content of a Web page can be formatted by using the following tags:
<LI> <BR>
<HR>
Exploring the <BODY> Tag (Contd.)
G
JPE
GIF
G
PN
Exploring the <BODY> Tag (Contd.)
<METER> <PROGRESS>
Summary