Saturday, February 26, 2011

HTML Tags

What is HTML?
HTML stands for Hyper Text Markup Language.

What do you mean by markup language?
Markup language means that it uses markup tags

Is it a Programming Language?
No. It is not a programming language.

What is extension of HTML file?
It may be html or htm


What is html tag?

HTML keywords are rounded by angle brackets
tags are come in pairs start and end.

What is HTML document? explain it.
It is nothing but web page. HTML document describes web pages, contains tags and plain text.

Write a small HTML script to describe heading,paragraph,title.
----------------------------------
-
--
-- HTML
-- "Senthil Heading"
-- "Introduction"
--



What is an element with respect to HTML?
An HTML element is everything from the start tag to the end tag. For example,

represents for paragraph it should have starting tag like

and ending tag like


What is an attribute?
An Attribute is additional information of an element. It should have a starting tag.
--
--
--
--
--
This is a border with a 1px border.


Here 'border' is an attribute of a table.

what is Heading?
Heading is a title of the content. It should be defined with the tag

and



How can we divide a document?
A document can be divided into paragraphs with the starting tag as

and ending tag as

.

Explain Formating,Style,link,image,Table,List,forms,Frames,iFrames and colouring.

Formating of the fonts like denotes bold italic with corresponding ending tags.

Link : This is a link to other document,image or group of words and so so on. This denotes with the tag () and ().

Image: To insert a image using the tag ()

Forms: It is used to pass the data to the server. It may contain text fields, checkboxes, radio-buttons, submit buttons and so on. For example,
--

--First name:

--Last name:
--

here (
)denotes carriage return.
In forms, we can define input type text field,password, radio button,check box and so on. For example,
--

-- Male

-- Female
--

Explain tables,borders with reference to HTML?
Tables are defined with the tag. It is divided into rows (with the tag). Each row is divided into data cells (with the
tag). td stands for "table data," and holds the content of a data cell. A tag can contain text, links, images, lists, forms, other tables, etc.

Borders: If we want to display a table with borders, specify the border attribute as follows:
--
--
--
--
--
--
Row 1, cell 1 Row 1, cell 2


Explain FRAMES,Iframes in HTML.

Frames: Using frames, we can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent.

iframe: It is used to display a web page within a web page.

What do you mean by DocType in HTML?

DocType is not an HTML tag. It is an instruction to the web browser about what version of the markup language the page is written in.The doctype declaration refers to a Document Type Definition (DTD). The DTD specifies the rules for the markup language, so that the browsers render the content correctly. For example,




No comments:

Post a Comment