Chapter :-1 Introduction to HTML

 
Summary
1. HTML stands for Hyper Text Markup Language.
2. On the platform of the Internet, a distributed information system exists, which is called World Wide Web, WWW or Web in short.
3.The notion of the Web was conceived in 1991 by Tim Berners Lee.
4.HTML is derived from of SGML (Standardized General Markup Language)

5.A combination of opening and closing tag along with some content between the two tags forms an element. like< Opening tag>    Content  <Closing>
6.Paragraph tags : <p> and </p> 

The <p> tag structures the content into a paragraph. Each paragraph of text should go in between an opening <p> and closing </p> tag.

7.Line Break: <br> or <br/> 

he <br> element does not have an opening and closing tags. <br> is an abbreviated form of break.First example <br> <br> 

8.Preformatted Text 

Many a times we want to display text with multiple white spaces and in multiple lines without wanting to be changed it by the browser. we may embed the content into pre-formatted tag set using <pre> and </pre>.

9.Bold : <b> and </b> 

This tag is used to display given content into bold letters. 

10.Underline : <u> and </u> 

This tag is used to display given content with underlined letters

11.Strike Through : <s> and </s> 

The content of an <s> or <strike> element is displayed with a strikethrough a thin line through the text. Here the ‘s’ is an abbreviated form of ‘strike’.

12.Type writer font: <tt> and </tt

The content of a <tt> element is written in typewriter type of fonts, which is also identified as mono spaced font (like that of a teletype machine).

13.<small> and </small> 

Description The content is displayed one font size smaller than the rest of the text surrounding it. 

14.<big> and </big> 

The content is displayed one font size bigger than the rest of the text surrounding it.

15. <sup> and </sup> 

The content is displayed in superscript.

16. <sub> and </sub> 

 The content is displayed in subscript.

17.Anchor Tag

Set of such words or text that appears in different colour (generally blue and underlined) are called hyperlink.

hyperlink is created using an <a> element, where the ‘a’ stands for an anchor.

18. Align Attribute 

The align attribute indicates whether the heading appears to the left, center, or right of the page. By default, the content is aligned to the left

 

Choose the correct option from the following :-

1. To display the web content, which mark-up language is needed ?

(a) CML                                                          (b) HTML

(c) NML                                                          (d) WML

2. Which of the following is considered as a language for describing web page ?

(a) HTML                                                         (b) WML 

(c) NML                                                            (d) CML

3.Which of the following is the full form of HTML ? 

(a) Hot Text Manipulation Language            (b) Hyper Text Manipulation Law 

(c) Hyper Text Markup Language                (d) Hidden Text Markup Language

4. Which of the following is the full form of SGML ? 

(a) Standardized General Markup Language                 (b) System General Manipulation Law 

(c) Standardized Genome Markup Law                             (d) Standardized Gigabyte Markup Language

5. Which of the following refers to an HTML element ? 

(a) An opening tag, content and a closing tag                (b) Angular brackets 

(c) Content                                                                               (d) Any of these

6.Which of the following can be used to specify additional formatting along with an HTML element? 

(a) Numbers                                                    (b) Attributes         

(c) Comments                                                  (d) Contents

7.Which of the following refers to a singular tags that do not require content ? 

(a) Compete                                                     (b) Empty     

(c) Null                                                              (d) Void

8.Which of the following attributes type can appear along with any tag ? 

(a) Unique                                                         (b) Universal     

(c) Trivial                                                            (d) Preliminary

9.Which type of information can be incorporated in an HTML document ? 

(a) Multimedia information                            (b) Text information 

(c) Address and path of filename                  (d) All of these

10. Which of the following is an editor to edit an HTML document ? 

(a) SciTE                                                             (b) BriTE     

(c) LigHT                                                            (d) SpriTE 

Extra MCQ