Monday, 1 September 2014

Introduction to HTML



Lecture 1
Introduction to HTML
Today is our first day of Learning; we start with - Introduction to HTML.
As we all know HTML stands for Hypertext markup Language. Basically, HTML is a markup language. A Markup language uses markup tags. Tags are used to describe data or text. HTML uses different tags to show text on browser. HTML documents are known as Web-pages.
             
[Web-Browser: Browser is a computer program which only understands HTML. It is used for retrieving, presenting and surveying information resources on World Wide Web.]

In HTML, Tags are basically keywords between angle bracket, like <html>. There are two types of tags –
1.      Paired tags, like <a>Text</a>
2.      Empty or unpaired tags, like <br>

Structure of HTML document – 


Explanation:
1. DOCTYPE DECLARATION: The First thing in all html document is must be DOCTYPE before the <html > tag, It define the type of document, which version of html or xhtml used in it.
Eg. HTML 5
<!DOCTYPE html>
HTML 4.01
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

2. <HTML> Tag – HTML tag describes the web page. It tells the browser that this is html document. It is the container of all html elements. 
3. <HEAD > Tag – HEAD tag is container of all head element like title, scripts, style etc. 
4. <TITLE > Tag – Title tag describe the title of the html document. 
5. <Body > Tag – Body tag defines the documents body. It contains all contents of html document like text, images, table, lists, hyperlinks etc.

Note: In Next lecture, we will learn different html tags used in html document or web page.

1 comment:

  1. Aftershokz titanium: How does it work? | Titanium Art
    This site has titanium rod in leg no information titanium ring on the specifics of the titanium ore design or ownership of any of mokume gane titanium the following items: Titanium titanium pots and pans Paint Brush – The tip of the

    ReplyDelete