HTML
HTML
HTML
By
Komal Singh
What is HTML?
• HTML is a language which is used to write HTML document to create
web pages.
• Once you write HTML document, it can be viewed in any browser in
form of web page.
• HTML Document : is a text file that contain the information to publish.
• It also contain embedded instructions called Elements of HTML
• These elements indicate web browser, how to present(display) data
which the document contains.
“HTML Elements”
Static Dynamic
• Text • Forms
• List • Multimedi
• Hyperlink a
• Images • Java Script
• Table • CSS
• Frames • Dynamic
etc HTML
What is Hypertext?
• Machine – readable text that is not sequential but is organised o that
related items of information are connected. OR
• Hypertext refers to the way in which webpages(HTML document) are
linked together.
HTML
Ordinary text Hypertext
• Use HTML to simply mark up a text document with tags that tell a
web browser how to structure it to display.
• The markup (tag) tells the web browser how to display the page.
• They mark it as a specific type of text.
• For example, markup text could come in the form of boldface or
italicized type to draw specific attention to a word or phrase.
About HTML Tags
• Tag refers to the HTML codes that defines the element in HTML file
as- Heading, images, paragraphs, list etc.
• HTML tags of elements are inserted into a document between angular
brackets (< >).
• Tags in HTML are not case-sensitive
• Example:
• <BODY> and <body> are equal
• <B> and <b> are same.
HTML tags are of 2 types:
• 1) Container Tag : contain 2 tag
• Comes in pair start tag and end tag, which enclose text they affect.
• <TAG> (Start tag / opening tag)
• ………….
• Text that tag pair affect
• ……………
• </TAG> (End tag / closing tag)
• 2) Empty Tag
• Special tags that do not require End tag.
• <BR> tag, for breaking the line.
Tag Attributes: