Back to home

Topics

1. Define  HTML:-

HTML stands for Hypertext  Markup Language.  It is used  for developing  web pages.

2.  What are the components of HTML?

There are two components of HTML, namely, hypertext and markup.Hypertext enables to create links between different parts of information. Markup is the special code that tells  the web browser to process documents.

3. What are the main parts of a HTML Document?

An HTML document has two main parts: the head and the body. But firstly every HTML document should start by declaring that it is an HTML document.

These tags are of the form:

<html>
          Should appear at the beginning of your document.
</html>
          Should appear at the end of your document.

4. What is HTML Tags?

The HTML tags are basic components of an HTML document. They describe how a webpage should appear in the browser. Tag defines paragraphs, headings, sub - headings,  horizontal lines in HTML documents.

A tag consists of a left angle bracket  ( )

5. What  are  HTML  Attributes?

The HTML attributes provide additional information about a tag. It includes information like font, font color, font size, alignment etc. The attributes are defined in a tag  after the tag a name. The attributes consist of name and a value. The value of an attribute can be defined by using  quotation mark  but it  is not necessary.

For example:-

              < FONT  ALIGN =  "RIGHT" SIZE= "12">

Where, ALIGN  and SIZE  are attributes and  "RIGHT"  and  "12" are  values. This code aligns the text  to the right and its size  as12.

6. What  are  HTML  elements?

The HTML elements are used  to create a web page. Elements  can be  two types:-

Text  level  elements: - The  element  that affects  the appearance of a text is known as text level element.

Block level  elements: -The elements that  are used  for formatting blocks of  text are known as block level elements.

An element is starting tag (and its attributes), the content and an ending  tag. The ending tag is preceded by a slash (/ ).

7. What are HTML elements? Explain with example.

An element may contain one or more than one element. The elements are two types.

Container element:-  It has a starting tag and an ending  tag.

Example:  To  make a text italic, the opening  tag <i> is used  and  the  ending tag < /i > is used. The web page will  display that text as italics.

Empty  element-  It  was only opened tab with attributes.

Example:- The horizontal rule tag can be used directly and it does not require the ending tag.

8. What are the HTML elements syntax? 

  • An HTML element starts with a start tag / opening  tag.
  • An  HTML element ends with an end tag / closing   tag.
  • The element content is everything between the start and the end  tag.
  • Some HTML element is closed in the start tag.
  • Most HTML elements can have attributes.

9. Explain HTML Documents:-

The HTML Documents describe web pages. They contain HTML tags and plain text. It is also called web page.

10. What is web pages?

The HTML Documents are called web pages.

11. What is the use of web browser?

The web browser reads HTML documents and display them as web pages. The browser does not display the HTML Tags, but uses the tags to interpret the content of the page.

Example:-  Internet explorer or Firefox.

12. Explain the tags below:-

 

The text between  describes  the web page.

The text between   is the  visible page content.

The text  between is displayed as a heading.

The text  between  is displayed as a paragraph.

13.What is the extension used in HTML?

The .htm or the .html extension  code is used in HTML.

14. Explain  HTML  Headings.

The HTML headings  are defined with  the  

The Result is

15. Explain HTML paragraph.

The HTML paragraph element divides and arrange the text  into separate paragraphs in a web page. The HTML  paragraphs are defined with the tag.

16. How do define  HTML Links?

HTML links are defined with the  tag.

17. How to define HTML images?

The HTML images are defined with the  tag.

18. How do create a HTML  Document?

Notepad  is  used to  create HTML Programs. It is the text editor for HTML document.

       1. Click  Start →  All programs → Accessories  → Notepad 

       2. Type the HTML code in the  notepad.

       3. From the File  menu →  click  save.

       4. Enter the Filename in the File name text  box. Give .html  extension name to the file name. (Eg: Chapter.html)

       5. Specify  the location where to save the document.

       6. Click save.

19. How  to view the HTML  Document?

After creating and saving the  HTML document, it can view in a web browser.The web browser displays the information in a web page. It  hides all the tags and element.

To view an HTML document, follow  the steps given below:

  • Double click  the Internet explorer on the Desktop.
  • File → Open
  • Click  Browser

The Microsoft Internet Explorer dialogbox appears

  • Select the file  or click the look in drop down list to locate the file.
  • Click open

The open dialog box reappears with the path showing file location.

  • Click OK. The web page opens in the Inter explorer.

20. Which software is used to create a HTML Document?

 Notepad  is used to create  HTML programs. It is the text editor for HTML document.

Paid Users Only!
Paid Users Only!
Paid Users Only!
Powered By