Videos Related with HTML and Its Introduction

Note on HTML and Its Introduction

  • Note
  • Things to remember
  • Videos
  • Exercise
  • Quiz

HyperText Markup Language (HTML) is the computer programming language that defines the content, layout, links and graphics that when converted by a web browser creates the web page that we see on our screen.

HTML Tags

Different tags with their attributes are used to develop HTML documents or web pages. HTML tags are the keywords or commands used in HTML. They are enclosed by angle brackets like < HTML >. The tags tell the browser how to display the document on the web pages. There are two types of HTML tags. They are:

  • Container Tags (paired tags):
    A container tag has start and end tag. Start tags are written within angular brackets and the end tags are written within angular bracket along with slash (/). The text and other tags are written between the start and end tags. Some examples of container tags are: < HTML > content , < HEAD> content , etc.
  • Empty Tags (singular tags):
    Some tags do not require the end tags. The tags which have no end tags are called empty tags. Some examples of empty tags are < IMG >, < BR > etc.

Attributes

The HTML tags can also have attributes. Attributes provide additional information to describe the content of tags. The attributes are always in the start tag of the element. Each attribute has some value. A value of an attribute is assigned by the equal sign. The values are generally enclosed in the double quotes. Common attributes are color, height, width etc.

Skeleton of HTML

HTML is a tag-based scripting language. The skeleton is its basic structure. Without it, HTML document cannot be constructed. The minimum requirement for HTML designing and its position in the document can be discussed here. The < HTML>and < /HTML> tags are the backbone or main point on which other tags are located. All the elements of HTML is written within < HTML >. The structure of HTML is as follows:

< HTML >
< HEAD > ... < /HEAD >
< TITLE> ... : written within < HEAD> tags.
< BODY>.... < /BODY >
< /HTML >

The < HTML > is the main body of HTML documents in which applet, multimedia, link and several other elements are placed. We can say that the HTML document has document has following two important sections:

  • HEAD section
  • BODY section

How to Create an HTML file?

An Html file is a plain text file with either .htm or .html as the file extension. The three letter extension (.htm) call back to the time when computers would only allow up to three letters in the file extension. You can either use .htm or .html in file extensions.

Creating HTML Document or Web Page

You can create the HTML documents either by using the plain text editors software like Notepad, WordPad or by using web designing software like Microsoft Frontpage.

The steps to create HTML document using text editor Notepad:

  • Step 1: Open the Notepad. ( To open Notepad, click on the Start button and choose the All programs menu. Go to the Accessories and click on the Notepad.)
  • Step 2: Type the HTML code in the Notepad.
  • Step 3: Save the document with the extension .htm or .html.

  • Hyper Text Markup Language (HTML) is the computer programming language that defines the content, layout, links and graphics that when converted by a web browser creates the web page that we see on our screen.
  •  HTML tags are the keywords or commands used in HTML.
  • A container tag has start and end tag. 
  • The tags which have no end tags are called empty tags.
.

Very Short Questions

A tag is coded HTML command that indicates how part of web page should be displayed. All HTML tags are contained with angle brackets (<>) e.g <Head> <Body>, etc.
There are two types of tags:

  1. Container Tag (Paired Tag)
  2. Empty Tag (Singular Tag)

The container tags are pair tags i.e. they required a starting tag as well as and ending tag. They affect the text appearing between their starting and ending tag. E.g.
<HTML> ..............</HTML>
<B> .............. </B>
<Title> ..............</Title>, etc.
The empty just required a starting tag and no ending tag. They just carry out the job assigned to them. E.g. <br>, <Hr>, <img>, etc.

Every HTML document should follow this general form:
<HTML>
<HEAD>
<TITLE> Title of page written here
</TITLE>
</HEAD>
<BODY>
The HTML tags that define our page here are
</BODY>
<H/TML>

Hyper Text Markup Language (html) is the computer programming language that defines the content, layout, links and graphics that when converted by a web browser creates the web page that we see on our screen.

0%
  • What tag tells the browser where the page starts and stops?

    < html >
    < / html> < html>
    < html>  < / html>
    None of them
  • ________ provide additional information to describe the content of tags.

    Algorithm


    Attributes


    Tags


    Code


  • _______ tag has start and end tag.

    Untypical tag


    Singular type


    Empty tag


    Container tag


  • < Br > is an example of :

    Collection  tag


    Singular tag


    Container tag


    Paired tag


  • < HEAD > is an example of:

    Null tag


    Empty tag


    Singular tag


    Container tag


  • ________  are the keywords or commands used in HTML.

    Tags


    Code


    Program


    Attributes 


  • Which of the following is an example attributes ?

    img src


    width


    color


    height


  • You scored /7


    Take test again

DISCUSSIONS ABOUT THIS NOTE

You must login to reply

Forum Time Replies Report

differentiate between tag and general text


You must login to reply