Lecture 1 of HTML


Introduction and basic of HTML

HTML logo
HTML

HTML

HTML stands for Hyper text markup language. Actually it is not a programming language it is a language used for setting the images, videos, audios on the web pages. It was developed in early 1990s, and inspired from a language SGML (Structured Generalized Mark-up Language). SGML are not ideal for transmission on the internet so this is the reason the HTML are used. HTML are not a case sensitive language mean <HEAD> and <head> have same meanings.

Advantage of HTML


  • It is a simple but powerful language because user can use graphics in it.
  • It can be written on any text editor, like Notepad, MS-office.

Disadvantage of HTML


  • It is not a programming language so user can create only a statue not creates a soul for that statue.
  • The code of a page web page cannot be reuse. So re-usability are not exist in HTML.

Attributes and Tags

Tags

Tags are like symbols that are used in HTML for telling the web browser what to do. <tag>
Every tag must be written between the symbol “< >” called angle brackets.
A tag has two parts

  • ·         Starting tag <tag>
  •         Ending tag </tag>
Suppose header  tag “ h1” that are used for inserting a heading on the web page.
<h1> Write the Title </h1>

The ending tag ends with a symbol “/”.

Attributes

Attributes are a special keyword that holds the properties of a tag.
As <h1> header tag may have many attributes like
<h1 align="center>Here are the content</h1>.


Comments in HTML

Comments are the lines which are written in the program for the help of the developer these lines cannot be effect on the functionality of the program.
<-- Comment are written here -->
Or we can use comment tag like <COMMENT>write the comment about something</COMMENT>

No comments:

Post a Comment

Thank you for choosing https://www.htmlcodzz.com
We have receive your message and response very soon..