CBSE NCERT Class IX (9th) | Computer ScienceNCERT Solutions for Class 9th: Ch 4 Introducation to HTML► <b>, </b>► <i>, </i>► <font size=amount of the number>, </font> Here, amount of the number means any number such as 2,3,4 by which we want to increase font size. We can also use negative number. ► <p align=right>, </p><TITLE> My First Program </TITLE><P align="center"> This is my first web program </P>► (a) Pre specified tags► (b) <b>► (a) <h1>► (d) 4 The FONT tag is a container tag that has a number of attributes. Various attributes of font tag:FACE: Sets the text to the name of the font used as its value. SIZE: Decides the scale of the text.COLOR: Changes the color of the text written inside the container tag. <br> and <hr> both are empty tag. But <br> tag is used for creating blank line breaks while <hr> tag is used to insert a horizontal rule on the web page. LINK: Defines the color of the link in the document. ALINK: Defines the color of the active link in the document. VLINK: Defines the color of the visited link in the document. <H1> This text is in largest font i.e. H1 font </H1><H2> This text is in larger font i.e. H2 font </H2><H3> This text is in medium large font i.e. H3 font </H3><H4> This text is in medium small font i.e. H4 font </H4><H5> This text is in smaller font i.e. H5 font </H5><H6> This text is in smallest font i.e. H6 font </H6> The above code produces the following output: A container tag has both the start and the end tag. The text or the graphic is inserted inside the beginning and end tag of the container tag. For example: <body> This is a container tag</body>. The <BODY> tag here is a container tag which has both the beginning and the ending tag and the text in between both the tags. whereas<TITLE> The Structure of HTML DocumentThe Body of the HTML DocumentIn HTML Cooment tag is written as : <!--, followed by description or remark on a command, followed by -->. For example: <!-- Hello -->. 1. BGCOLOR: The background of the webpage is displayed with a color that has been taken as value by this attribute. 2. BACKGROUND: The background of the webpage is displayed with an image whose address is taken as value by this attribute. The tools required to create a html document are:1. A text editor/HTML editor2. A Web BrowserHTML refers to Hypertext Markup Language. It was founded in November 1990 by a scientist called Tim Berneses-Lee. The purpose was to make it easier for scientists at different university to gain access to each other’s research documents. HTML is not an invention but an improved version of Standard Generalised Markup Language(SGML). HTML comparise of tags and attributes to show data in browser. << Back to NCERT/CBSE Notes