0% found this document useful (0 votes)
10 views2 pages

HTML Fundamental

HTML, or Hypertext Mark-up Language, is a tag-based language used to create web pages, with file extensions .HTML or .HTM. It consists of elements enclosed in angle brackets, categorized into container tags (which have both opening and closing tags) and empty tags (which have only an opening tag). Basic HTML document structure includes <HTML>, <HEAD>, and <TITLE> tags, and a simple program example is provided to display text on a webpage.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

HTML Fundamental

HTML, or Hypertext Mark-up Language, is a tag-based language used to create web pages, with file extensions .HTML or .HTM. It consists of elements enclosed in angle brackets, categorized into container tags (which have both opening and closing tags) and empty tags (which have only an opening tag). Basic HTML document structure includes <HTML>, <HEAD>, and <TITLE> tags, and a simple program example is provided to display text on a webpage.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

HTML stands for Hypertext Mark-up Language.

It
used to create web pages for the internet. It is a tag based language. The
extension name of HTML is .HTML or .HTM

What is tag?

Each keywords or abbreviation in HTML is known as an “element” and each


HTML element is enclosed in angle bracket like this < > .This angle bracket &
html element assembly is known as a tag.

HTML tags

Tags are divided in two types

1. Container tag
2. Empty tag

Container tag

In HTML the tags that include both “ON” & “OFF” tags are called
container tag. “ON” & “OFF” means opening tag < > and closing tag </ >.

Ex- <HTML> opening tag

</HTML> closing tag

Empty tag

Empty tag contains only “ON” tag. They do not have “OFF” tag.

Ex- <BR> Tag

 Every opening tag must have an ending tag. The closing tag has a forward slash
(/). However some tags have only an opening tag.
How to create HTML file?

 1st Open note pad program


 Then write the HTML program
 After complete write the programs save it. (But remember save file name
must be attach .HTML or .HTM Ex- [Link])

How to open HTML file?

 1st Open internet explorer


 Then go to file menu
 Then click the option “open”
 Then click the option “browse”
 Now all the save HTML file will be display but you select the particular HTML file, which file you want to open
 Then click the option “open”
 Then click the option “ok”
 The basic tags that are included in every HTML document are as follows:-

1) <HTML> ------------------------------------------- </HTML>


This tag is use to indicate that this is an HTML document. The HTML
documents start with <HTML> tag and ends with </HTML> tag.
2) <HEAD> ------------------------------------------ </HEAD>
This tag is used to indicate the header section of the HTML document.
3) <TITLE> -------------------------------------------- </TITLE>
This tag is use to indicate title of the html document. The title should
be short & less than 64 characters.
WAP to display any text of your choice in the webpage. (WAP-Write A Program)

<HTML>
<HEAD>
<TITLE>TEXT</TITLE>
WEL COMES TOPENTASYS COMPUTER EDUCATION (PCE)
</HEAD>
</HTML>

You might also like