{"id":50,"date":"2018-07-12T06:54:11","date_gmt":"2018-07-12T06:54:11","guid":{"rendered":"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/?post_type=chapter&#038;p=50"},"modified":"2018-12-07T09:08:01","modified_gmt":"2018-12-07T09:08:01","slug":"html","status":"publish","type":"chapter","link":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/chapter\/html\/","title":{"rendered":"HTML"},"content":{"raw":"<div><span style=\"float: right\"><a href=\"https:\/\/youtu.be\/aHvYNpmPMug\" target=\"_blank\" rel=\"noopener\"><img src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"epgp books\" width=\"75px\" height=\"75px;\" \/><\/a>\r\n<\/span><\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">HTML provides many Physical Character Styles tag. These style tags include Bold, Italic, Underline, Subscript, Superscript etc. To make a content bold &lt;b&gt; tag is used.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">&lt;i&gt; is used to make content italic. The content between &lt;u&gt; and &lt;\/u&gt; are underlined. To make a character subscript &lt;sub&gt; tag is used. &lt;sup&gt; tag is used for superscript. The closing tag is required for all the physical character style tags.<\/p>\r\n&nbsp;\r\n\r\n&lt;html&gt;\r\n\r\n&lt;body&gt;\r\n\r\nThis is &lt;b&gt;&lt;i&gt;bold.&lt;\/i&gt;&lt;\/b&gt; exmaple.\r\n\r\n&lt;br&gt;\r\n\r\nThis is &lt;i&gt;italic.&lt;\/i&gt; example.\r\n\r\n&lt;br&gt;&lt;br&gt;&lt;br&gt;\r\n\r\nThis is &lt;u&gt;Underline&lt;\/u&gt; example.\r\n\r\n&lt;hr&gt;\r\n\r\n&lt;p&gt; This is paragraph.\r\n\r\n&lt;p&gt;&lt;p&gt;&lt;p&gt; Does it make three line blank?\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-53 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-24.png\" alt=\"\" width=\"620\" height=\"193\" \/>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Like physical character style there is logical style also. The logical style character set includes keyboard text, emphasized character etc.<\/p>\r\n&nbsp;\r\n\r\n&lt;HTML&gt;\r\n\r\n&lt;BODY&gt;\r\n\r\n&lt;STRONG&gt;Strong&lt;\/STRONG&gt;&lt;BR&gt;\r\n\r\n&lt;KBD&gt;Keyboard&lt;\/KBD&gt;&lt;BR&gt;\r\n\r\n&lt;CITE&gt;Citation&lt;\/CITE&gt;&lt;BR&gt;\r\n\r\n&lt;EM&gt;&lt;CODE&gt;Emphasized Code&lt;\/CODE&gt;&lt;\/EM&gt;&lt;BR&gt;\r\n\r\n&lt;\/BODY&gt;\r\n\r\n&lt;\/HTML&gt;\r\n\r\n&nbsp;\r\n\r\n<strong>Strong<\/strong>\r\n\r\nKeyboard\r\n\r\n<strong><em>Citation<\/em><\/strong>\r\n\r\n<em>Emphasized Code<\/em>\r\n\r\n&nbsp;\r\n\r\n<strong style=\"text-align: initial;font-size: 1em\">IMG<\/strong>\r\n\r\n&nbsp;\r\n\r\n<span style=\"text-align: justify;font-size: 1em\">&lt;img&gt; (read as image) is used to display image in browser. The mandatory attribute in &lt;img&gt; is src (read as source). There are other option attributes also with images. These option attributes are width, height, align etc. Width is used to determine the width of image either in pixel or in percentage. In the same manner, height is used to determine the height of an image. Align attribute is used to determine the alignment of text after image attribute.<\/span>\r\n\r\n<\/div>\r\n<div>\r\n\r\n\u00a0 \u00a0 &lt;html&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;h1&gt; Image Example &lt;\/h1&gt;\r\n\r\n&lt;img src=\"Garden.jpg\"&gt;\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-54 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-25.png\" alt=\"\" width=\"573\" height=\"368\" \/>\r\n\r\n&nbsp;\r\n\r\nYou can provide path of the image in src attribute.\r\n\r\n&nbsp;\r\n\r\n&lt;html&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;h1&gt; Image Example &lt;\/h1&gt;\r\n\r\n&lt;img src=\"Images\/Garden.jpg\"&gt;\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"alignnone size-full wp-image-55 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-26.png\" alt=\"\" width=\"567\" height=\"359\" \/>\r\n\r\n&nbsp;\r\n\r\nWidth and Height attributes in &lt;img&gt; tag.\r\n\r\n&lt;html&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;h1&gt; Image Example &lt;\/h1&gt;\r\n\r\n&lt;img src=\"Garden.jpg\" width=\"100\" height=\"100\"&gt;\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-56 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-27.png\" alt=\"\" width=\"566\" height=\"356\" \/>\r\n\r\n&nbsp;\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">By providing percentage (relative) value of width, height the image can be displayed.<\/span>\r\n\r\n<\/div>\r\n<div>\r\n\r\n\u00a0 \u00a0 &lt;html&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;h1&gt; Image Example &lt;\/h1&gt;\r\n\r\n&lt;img src=\"Garden.jpg\" width=\"60%\" height=\"70%\"&gt;\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-57 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-28.png\" alt=\"\" width=\"568\" height=\"365\" \/>\r\n\r\n&nbsp;\r\n\r\nAlign attribute is used to align the text with image.\r\n\r\n&lt;html&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;img src=\"Garden.jpg\" align=\"left\" width=\"150\" height=\"150\" alt=\"Garden\"&gt; This is a beautiful garden on the left!&lt;br&gt; This is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nYou can see text wrap around it&lt;br&gt;\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"alignnone size-full wp-image-58 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-29.png\" alt=\"\" width=\"570\" height=\"360\" \/>\r\n<p style=\"text-align: center\">Below are the image of alignment of right and center.<\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-59 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-30.png\" alt=\"\" width=\"571\" height=\"355\" \/>\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-60 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-31.png\" alt=\"\" width=\"569\" height=\"357\" \/>\r\n\r\n&nbsp;\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">The alt (read as alert) attribute is used to display text in case image is not visible in browser.<\/span>\r\n\r\n&nbsp;\r\n\r\n<span style=\"text-align: justify;font-size: 1em\">It is strongly recommended to use alt attribute when img is used.<\/span>\r\n\r\n<\/div>\r\n<div>\r\n\r\n\u00a0 \u00a0&lt;html&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;img src=\"Gaden.jpg\" align=\"center\" width=\"150\" height=\"150\" alt=\"Garden\"&gt; This is a beautiful garden on the left!&lt;br&gt; This is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nThis is a beautiful garden on the left!&lt;br&gt;\r\n\r\nYou can see text wrap around it&lt;br&gt;\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-61 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-32.png\" alt=\"\" width=\"570\" height=\"363\" \/>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<strong>Anchor (Hyperlinks)<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">HTML provides hyperlinks to move from one page to another page. To use hyperlink &lt;a&gt; [read as anchor] tag is used. &lt;\/a&gt; is mandatory to close &lt;a&gt;. Href [read as Hyperlink reference] is a compulsory attribute for &lt;a&gt;.<\/p>\r\n&nbsp;\r\n\r\n&lt;html&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;h1&gt; This is hyperlink example.&lt;\/h1&gt;\r\n\r\nclick here to go to &lt;a href=\"page2.html\"&gt;Page 2&lt;\/a&gt;.\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-62 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-33.png\" alt=\"\" width=\"573\" height=\"367\" \/>\r\n\r\n&nbsp;\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">There is a page 2 exist. It has also provide hyperlink to move from page 2 to page 1.<\/span>\r\n\r\n<\/div>\r\n<div>\r\n\r\n\u00a0 \u00a0 &lt;html&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;h1&gt;This is page 2&lt;\/h1&gt;\r\n\r\nclick here to go to &lt;a href=\"page1.html\"&gt;Page 1&lt;\/a&gt;\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-63 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-34.png\" alt=\"\" width=\"579\" height=\"364\" \/>\r\n\r\n<\/div>\r\n&nbsp;\r\n<div>\r\n\r\n&nbsp;\r\n\r\nAs the mouse moves over Page 1, the cursor symbol has changed as finger up hand.\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">By default, color of hyperlink is blue. To change the color of hyperlink, &lt;body&gt; has link attribu. &lt;body&gt; has link, alink (for active link) and vlink (for visited link) attributes. Three different colors can be choose for each link. Active link is link when user press the mouse button, visited link display color when a particular page of hyperlink page is visited.<\/p>\r\n&nbsp;\r\n\r\n&lt;html&gt;\r\n\r\n&lt;body link=\"Red\" alink=\"Blue\" vlink=\"Green\"&gt;\r\n\r\n&lt;h1&gt; This is example for shows different colors for hyperlink.&lt;\/h1&gt; click here to go to &lt;a href=\"page2.html\"&gt;Page 2&lt;\/a&gt; &lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-64 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-35.png\" alt=\"\" width=\"574\" height=\"362\" \/>\r\n\r\n&nbsp;\r\n\r\nAn image can also be used as hyperlink.\r\n\r\n&lt;html&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;h1&gt;Image as Hyperlink&lt;\/h1&gt;\r\n\r\nThis is text &lt;a href=\"page2.html\"&gt;Hyperlink&lt;\/a&gt;.\r\n\r\n&lt;br&gt;\r\n\r\n&lt;a href=\"page2.html\" alt=\"garden\" title=\"Click me to go to Page 2\"&gt; &lt;img src=\"Garden.jpg\" height=\"100\" width=\"100\"&gt; &lt;\/a&gt;\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n&nbsp;\r\n\r\nTitle attribute is used as tool tip text.\r\n\r\n<\/div>\r\n<img class=\"alignnone size-full wp-image-65 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-36.png\" alt=\"\" width=\"568\" height=\"360\" \/>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<strong>BOOKMARK<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Bookmark is an important concept in hyperlink. It works similar as manual bookmark works. It is known that bookmark help us to remember on which page we are when we reading the book. In the same way, bookmark in HTML allows user to navigate at within the same page or another page to particular location. In the below example there are 2 files to demonstrate the bookmark example. The file bookmarkmain has following code.<\/p>\r\n&nbsp;\r\n\r\n&lt;html&gt;\r\n\r\n&lt;head&gt;\r\n\r\n&lt;title&gt;Book Mark Example&lt;\/title&gt;\r\n\r\n&lt;\/head&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;h1&gt; Home &lt;\/h1&gt;\r\n\r\n&lt;br&gt;&lt;br&gt;\r\n\r\n&lt;a href=\"Chapter1.html#topic2\"&gt;Chapter 1 Topic 2&lt;\/a&gt;\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">When user click on the link, he redirected to the file bookmred\u2019s topic 2. The user does not required to scroll to move to topic to. As the user clicks the link, he redirects to the link.<\/p>\r\n<img class=\"alignnone size-full wp-image-66 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-37.png\" alt=\"\" width=\"569\" height=\"320\" \/>\r\n\r\n<span style=\"text-align: justify;font-size: 1em\">On the bookmarked page, there is internal link is provided by name. So user can move to any particular section when he clicks a particular link.<\/span>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-67 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-38.png\" alt=\"\" width=\"565\" height=\"344\" \/>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-68 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-39.png\" alt=\"\" width=\"574\" height=\"377\" \/>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong style=\"text-align: initial;font-size: 1em\">TABLE<\/strong>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Table is used to show data in tabular format. The tabular format is necessary to improve the readability of data. For example, Time-table is look good when it is displayed in tabular format.<\/p>\r\n&nbsp;\r\n\r\nTo create a table following tags are used.\r\n\r\n<\/div>\r\n<div>\r\n\r\n\u00a0 \u00a0 \u00a0&lt;TABLE&gt;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 for creating a table (start tag)\r\n\r\n&lt;CAPTION&gt;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0for providing caption (title) to the table. It is optional tag.\r\n\r\n&lt;TR&gt;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0for creating a table row\r\n\r\n&lt;TH&gt;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0for creating a column header of a table\r\n\r\n&lt;TD&gt;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0table data element\r\n\r\n&nbsp;\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">Let\u2019 us create a table.<\/span>\r\n\r\n<\/div>\r\n<div>\r\n\r\n\u00a0 \u00a0 &lt;HTML&gt;\r\n\r\n&lt;BODY&gt;\r\n\r\n&lt;TABLE&gt;\r\n\r\n&lt;CAPTION&gt;TABLE - 1&lt;\/CAPTION&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n&lt;TH&gt;Heading1&lt;\/TH&gt;\r\n\r\n&lt;TH&gt;Heading2&lt;\/TH&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n&lt;TD&gt;Row1 Col1&lt;\/TD&gt;\r\n\r\n<span style=\"font-size: 1em;text-align: initial\">\u00a0&lt;TD&gt;Row1 Col2&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row2 Col1&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row2 Col2&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row3 Col1&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row3 Col2&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TABLE&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/BODY&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/HTML&gt;<\/span>\r\n\r\n<\/div>\r\n<div>\r\n\r\nThe output of the table will be below.\r\n\r\n<img class=\"size-full wp-image-69 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-40.png\" alt=\"\" width=\"236\" height=\"142\" \/>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Table tag has attributes. These attributes are Align, Border, CellSpacing, Cellpadding and Width.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Align attribute is used to provide alignment of the table. The values can be any one of the left, centre or right.<\/p>\r\n&nbsp;\r\n\r\nBorder attribute is used to provide boarder width in pixels. The default border width is 0.\r\n\r\n&nbsp;\r\n\r\nCellspacing is used to set the space between adjacent cells.\r\n\r\n&nbsp;\r\n\r\nCellpadding is used to set the space of text within the cell and cell-border.\r\n\r\n&nbsp;\r\n\r\nWidth is used to set table width. Table width can be in pixel or in percentage of page.\r\n\r\n&nbsp;\r\n\r\nTo create a table with border add the border attributes within table tag.\r\n\r\n&nbsp;\r\n\r\n&lt;HTML&gt;\r\n\r\n&lt;BODY&gt;\r\n\r\n&lt;TABLE border=\"2\"&gt;\r\n\r\n&lt;CAPTION&gt;TABLE - 1&lt;\/CAPTION&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n&lt;TH&gt;Heading1&lt;\/TH&gt;\r\n\r\n&lt;TH&gt;Heading2&lt;\/TH&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n&lt;TD&gt;Row1 Col1&lt;\/TD&gt;\r\n\r\n&lt;TD&gt;Row1 Col2&lt;\/TD&gt;\\\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row2 Col1&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row2 Col2&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row3 Col1&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row3 Col2&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TABLE&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/BODY&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/HTML&gt;<\/span>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-70 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-41.png\" alt=\"\" width=\"186\" height=\"150\" \/>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&lt;HTML&gt;\r\n\r\n&lt;BODY&gt;\r\n\r\n&lt;TABLE border=\"2\" cellspacing=\"5\"&gt;\r\n\r\n&lt;CAPTION&gt;TABLE - 1&lt;\/CAPTION&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n&lt;TH&gt;Heading1&lt;\/TH&gt;\r\n\r\n&lt;TH&gt;Heading2&lt;\/TH&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n&lt;TD&gt;Row1 Col1&lt;\/TD&gt;\r\n\r\n&lt;TD&gt;Row1 Col2&lt;\/TD&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n&lt;TD&gt;Row2 Col1&lt;\/TD&gt;\r\n\r\n&lt;TD&gt;Row2 Col2&lt;\/TD&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n&lt;TD&gt;Row3 Col1&lt;\/TD&gt;\r\n\r\n&lt;TD&gt;Row3 Col2&lt;\/TD&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;\/TABLE&gt;\r\n\r\n&lt;\/BODY&gt;\r\n\r\n&lt;\/HTML&gt;\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<strong><img class=\"size-full wp-image-71 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-42.png\" alt=\"\" width=\"189\" height=\"160\" \/><\/strong>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n&lt;HTML&gt;\r\n\r\n&lt;BODY&gt;\r\n\r\n&lt;TABLE border=\"2\" cellpadding=\"5\"&gt;\r\n\r\n&lt;CAPTION&gt;TABLE - 1&lt;\/CAPTION&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n&lt;TH&gt;Heading1&lt;\/TH&gt;\r\n\r\n&lt;TH&gt;Heading2&lt;\/TH&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n&lt;TD&gt;Row1 Col1&lt;\/TD&gt;\r\n\r\n&lt;TD&gt;Row1 Col2&lt;\/TD&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n&lt;TD&gt;Row2 Col1&lt;\/TD&gt;\r\n\r\n&lt;TD&gt;Row2 Col2&lt;\/TD&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n&lt;TD&gt;Row3 Col1&lt;\/TD&gt;\r\n\r\n&lt;TD&gt;Row3 Col2&lt;\/TD&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;\/TABLE&gt;\r\n\r\n&lt;\/BODY&gt;\r\n\r\n&lt;\/HTML&gt;\r\n\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-72 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-43.png\" alt=\"\" width=\"197\" height=\"187\" \/>\r\n\r\n&nbsp;\r\n\r\n&lt;HTML&gt;\r\n\r\n&lt;BODY&gt;\r\n\r\n&lt;TABLE border=\"2\" align=\"center\" width=\"70%\"&gt; &lt;CAPTION&gt;TABLE - 1&lt;\/CAPTION&gt;\r\n\r\n&lt;TR&gt;\r\n\r\n<span style=\"font-size: 1em;text-align: initial\">&lt;TH&gt;Heading1&lt;\/TH&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TH&gt;Heading2&lt;\/TH&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row1 Col1&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row1 Col2&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row2 Col1&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row2 Col2&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row3 Col1&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row3 Col2&lt;\/TD&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/TABLE&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/BODY&gt;<\/span>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">&lt;\/HTML&gt;<\/span>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"alignnone size-full wp-image-73 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-44.png\" alt=\"\" width=\"605\" height=\"91\" \/>\r\n\r\n&nbsp;\r\n\r\nYou can apply formatting attributes bgcolor with table also.\r\n\r\nTR tag has align, valign anf bgcolor attaributes. Following example demonstrates\r\n\r\n&nbsp;\r\n\r\n&lt;HTML&gt;\r\n\r\n&lt;BODY&gt;\r\n\r\n&lt;TABLE ALIGN=\"center\" WIDTH=\"400\" HEIGHT=\"300\"&gt; &lt;TR ALIGN=\"left\" VALIGN=\"top\" BGCOLOR=\"blue\"&gt;\r\n\r\n&lt;TD&gt;Apple&lt;\/TD&gt;\r\n\r\n&lt;TD&gt;Ball&lt;\/TD&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;TR ALIGN=\"center\" VALIGN=\"middle\" BGCOLOR=\"green\"&gt; &lt;TD&gt;Cat&lt;\/TD&gt;\r\n\r\n&lt;TD&gt;Dog&lt;\/TD&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;TR ALIGN=\"right\" VALIGN=\"bottom\" BGCOLOR=\"red\"&gt; &lt;TD&gt;Elephant&lt;\/TD&gt;\r\n\r\n&lt;TD&gt;Fan&lt;\/TD&gt;\r\n\r\n&lt;\/TR&gt;\r\n\r\n&lt;\/TABLE&gt;\r\n\r\n&lt;\/BODY&gt;\r\n\r\n&lt;\/HTML&gt;\r\n\r\n<\/div>\r\n<img class=\"alignnone size-full wp-image-74 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-45.png\" alt=\"\" width=\"419\" height=\"261\" \/>\r\n<div>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">TD tag has colspan and rowspan attributes. The colspan attribute describe how many columns a cell occupies. In the same way, the rowspan column attribute describe how many rows a cell occupies.<\/p>\r\n&nbsp;\r\n\r\n&lt;html&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;table border=\"2\"&gt;\r\n\r\n&lt;tr&gt;\r\n\r\n&lt;th colspan=\"2\"&gt;Admin&lt;\/th&gt;\r\n\r\n&lt;\/tr&gt;\r\n\r\n&lt;tr&gt;\r\n\r\n&lt;td&gt;Anand&lt;\/td&gt;\r\n\r\n&lt;td&gt;222&lt;\/td&gt;\r\n\r\n&lt;tr&gt;\r\n\r\n&lt;td&gt;Dhaval&lt;\/td&gt;\r\n\r\n&lt;td&gt;229&lt;\/td&gt;\r\n\r\n&lt;\/tr&gt;\r\n\r\n&lt;tr&gt;\r\n\r\n&lt;\/tr&gt;\r\n\r\n&lt;\/table&gt;\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n<img class=\"size-full wp-image-75 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-46.png\" alt=\"\" width=\"144\" height=\"146\" \/>\r\n\r\n&nbsp;\r\n\r\nIn the same you can define row span.\r\n\r\n<\/div>\r\n&lt;html&gt;\r\n\r\n&lt;body&gt;\r\n\r\n&lt;table border=\"2\"&gt;\r\n\r\n&lt;tr&gt;\r\n\r\n&lt;th&gt;Month&lt;\/th&gt;\r\n\r\n&lt;th&gt;Points&lt;\/th&gt;\r\n\r\n&lt;th&gt;Difference for two months&lt;\/th&gt;\r\n\r\n&lt;\/tr&gt;\r\n\r\n&lt;tr&gt;\r\n\r\n&lt;td&gt;January&lt;\/td&gt;\r\n\r\n&lt;td&gt;45&lt;\/td&gt;\r\n\r\n&lt;td rowspan=\"2\"&gt;15&lt;\/td&gt;\r\n\r\n&lt;\/tr&gt;\r\n\r\n&lt;tr&gt;\r\n\r\n&lt;td&gt;February&lt;\/td&gt;\r\n\r\n&lt;td&gt;60&lt;\/td&gt;\r\n\r\n&lt;\/tr&gt;\r\n\r\n&lt;\/table&gt;\r\n\r\n&lt;\/body&gt;\r\n\r\n&lt;\/html&gt;\r\n\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-76 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-47.png\" alt=\"\" width=\"370\" height=\"118\" \/>\r\n\r\n&nbsp;\r\n\r\nYou can define rowspan and colspan simultaneously also.\r\n\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td><strong>you can view video on HTML<\/strong><\/td>\r\n<td><a href=\"https:\/\/youtu.be\/aHvYNpmPMug\" target=\"_blank\" rel=\"noopener\"><img class=\"alignnone wp-image-120\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"\" width=\"36\" height=\"36\" \/><\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div><strong>\u00a0 \u00a0 \u00a0References:<\/strong><\/div>\r\n<div><\/div>\r\n<ul>\r\n \t<li style=\"text-align: justify\">Ivan Bayross, Web Enabled Commercial Application Development Using\u00a0\u00a0HTML\/Javascript\/DHTML\/PHP , BPB Publications.<\/li>\r\n \t<li style=\"text-align: justify\">Steven Holzner, HTML Black book, Kogent Learning Solutions Inc.<\/li>\r\n \t<li style=\"text-align: justify\">Deidre Hayes, Sams teach yourself HTML 4 in 10 minutes,.<\/li>\r\n \t<li style=\"text-align: justify\">Ed Tittel , Mary Burmeister, HTML4 for Dummies, Wiley<\/li>\r\n \t<li style=\"text-align: justify\">Robert Sebesta, Programming the World Wide Web, Pearson Education Inc.<\/li>\r\n \t<li style=\"text-align: justify\">Deitel, Internet and World Wide Web How to Program, Pearson<\/li>\r\n \t<li style=\"text-align: justify\">Anne Boehm, Murach\u2019s HTML, XHTML and CSS, Murachs<\/li>\r\n \t<li style=\"text-align: justify\">Elisabeth Robson, Eric Freeman, \u201cHead First HTML and CSS \u201c, O\u2019Reilly<\/li>\r\n \t<li style=\"text-align: justify\">Thomas Powell, HTML and CSS The Complete Reference, McGrawHill Education India<\/li>\r\n \t<li style=\"text-align: justify\">John Duckett, Beginning HTML, XHTML, CSS and Java Script, Willy India<\/li>\r\n \t<li style=\"text-align: justify\">http:\/\/www.php.net<\/li>\r\n \t<li style=\"text-align: justify\">http:\/\/www.w3schools.com\/<\/li>\r\n \t<li style=\"text-align: justify\">http:\/\/www.tutorialspoint.com\/<\/li>\r\n<\/ul>","rendered":"<div><span style=\"float: right\"><a href=\"https:\/\/youtu.be\/aHvYNpmPMug\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"epgp books\" width=\"75px\" height=\"75px;\" \/><\/a><br \/>\n<\/span><\/div>\n<div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">HTML provides many Physical Character Styles tag. These style tags include Bold, Italic, Underline, Subscript, Superscript etc. To make a content bold &lt;b&gt; tag is used.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">&lt;i&gt; is used to make content italic. The content between &lt;u&gt; and &lt;\/u&gt; are underlined. To make a character subscript &lt;sub&gt; tag is used. &lt;sup&gt; tag is used for superscript. The closing tag is required for all the physical character style tags.<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>This is &lt;b&gt;&lt;i&gt;bold.&lt;\/i&gt;&lt;\/b&gt; exmaple.<\/p>\n<p>&lt;br&gt;<\/p>\n<p>This is &lt;i&gt;italic.&lt;\/i&gt; example.<\/p>\n<p>&lt;br&gt;&lt;br&gt;&lt;br&gt;<\/p>\n<p>This is &lt;u&gt;Underline&lt;\/u&gt; example.<\/p>\n<p>&lt;hr&gt;<\/p>\n<p>&lt;p&gt; This is paragraph.<\/p>\n<p>&lt;p&gt;&lt;p&gt;&lt;p&gt; Does it make three line blank?<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-53 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-24.png\" alt=\"\" width=\"620\" height=\"193\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-24.png 620w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-24-300x93.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-24-65x20.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-24-225x70.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-24-350x109.png 350w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Like physical character style there is logical style also. The logical style character set includes keyboard text, emphasized character etc.<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;HTML&gt;<\/p>\n<p>&lt;BODY&gt;<\/p>\n<p>&lt;STRONG&gt;Strong&lt;\/STRONG&gt;&lt;BR&gt;<\/p>\n<p>&lt;KBD&gt;Keyboard&lt;\/KBD&gt;&lt;BR&gt;<\/p>\n<p>&lt;CITE&gt;Citation&lt;\/CITE&gt;&lt;BR&gt;<\/p>\n<p>&lt;EM&gt;&lt;CODE&gt;Emphasized Code&lt;\/CODE&gt;&lt;\/EM&gt;&lt;BR&gt;<\/p>\n<p>&lt;\/BODY&gt;<\/p>\n<p>&lt;\/HTML&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Strong<\/strong><\/p>\n<p>Keyboard<\/p>\n<p><strong><em>Citation<\/em><\/strong><\/p>\n<p><em>Emphasized Code<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"text-align: initial;font-size: 1em\">IMG<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-align: justify;font-size: 1em\">&lt;img&gt; (read as image) is used to display image in browser. The mandatory attribute in &lt;img&gt; is src (read as source). There are other option attributes also with images. These option attributes are width, height, align etc. Width is used to determine the width of image either in pixel or in percentage. In the same manner, height is used to determine the height of an image. Align attribute is used to determine the alignment of text after image attribute.<\/span><\/p>\n<\/div>\n<div>\n<p>\u00a0 \u00a0 &lt;html&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;h1&gt; Image Example &lt;\/h1&gt;<\/p>\n<p>&lt;img src=&#8221;Garden.jpg&#8221;&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-54 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-25.png\" alt=\"\" width=\"573\" height=\"368\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-25.png 573w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-25-300x193.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-25-65x42.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-25-225x145.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-25-350x225.png 350w\" sizes=\"auto, (max-width: 573px) 100vw, 573px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>You can provide path of the image in src attribute.<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;h1&gt; Image Example &lt;\/h1&gt;<\/p>\n<p>&lt;img src=&#8221;Images\/Garden.jpg&#8221;&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-26.png\" alt=\"\" width=\"567\" height=\"359\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-26.png 567w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-26-300x190.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-26-65x41.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-26-225x142.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-26-350x222.png 350w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Width and Height attributes in &lt;img&gt; tag.<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;h1&gt; Image Example &lt;\/h1&gt;<\/p>\n<p>&lt;img src=&#8221;Garden.jpg&#8221; width=&#8221;100&#8243; height=&#8221;100&#8243;&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-56 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-27.png\" alt=\"\" width=\"566\" height=\"356\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-27.png 566w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-27-300x189.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-27-65x41.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-27-225x142.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-27-350x220.png 350w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">By providing percentage (relative) value of width, height the image can be displayed.<\/span><\/p>\n<\/div>\n<div>\n<p>\u00a0 \u00a0 &lt;html&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;h1&gt; Image Example &lt;\/h1&gt;<\/p>\n<p>&lt;img src=&#8221;Garden.jpg&#8221; width=&#8221;60%&#8221; height=&#8221;70%&#8221;&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-28.png\" alt=\"\" width=\"568\" height=\"365\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-28.png 568w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-28-300x193.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-28-65x42.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-28-225x145.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-28-350x225.png 350w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Align attribute is used to align the text with image.<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;img src=&#8221;Garden.jpg&#8221; align=&#8221;left&#8221; width=&#8221;150&#8243; height=&#8221;150&#8243; alt=&#8221;Garden&#8221;&gt; This is a beautiful garden on the left!&lt;br&gt; This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>You can see text wrap around it&lt;br&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-58 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-29.png\" alt=\"\" width=\"570\" height=\"360\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-29.png 570w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-29-300x189.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-29-65x41.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-29-225x142.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-29-350x221.png 350w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/p>\n<p style=\"text-align: center\">Below are the image of alignment of right and center.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-59 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-30.png\" alt=\"\" width=\"571\" height=\"355\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-30.png 571w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-30-300x187.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-30-65x40.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-30-225x140.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-30-350x218.png 350w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-60 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-31.png\" alt=\"\" width=\"569\" height=\"357\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-31.png 569w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-31-300x188.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-31-65x41.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-31-225x141.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-31-350x220.png 350w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">The alt (read as alert) attribute is used to display text in case image is not visible in browser.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-align: justify;font-size: 1em\">It is strongly recommended to use alt attribute when img is used.<\/span><\/p>\n<\/div>\n<div>\n<p>\u00a0 \u00a0&lt;html&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;img src=&#8221;Gaden.jpg&#8221; align=&#8221;center&#8221; width=&#8221;150&#8243; height=&#8221;150&#8243; alt=&#8221;Garden&#8221;&gt; This is a beautiful garden on the left!&lt;br&gt; This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>This is a beautiful garden on the left!&lt;br&gt;<\/p>\n<p>You can see text wrap around it&lt;br&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-32.png\" alt=\"\" width=\"570\" height=\"363\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-32.png 570w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-32-300x191.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-32-65x41.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-32-225x143.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-32-350x223.png 350w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p><strong>Anchor (Hyperlinks)<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">HTML provides hyperlinks to move from one page to another page. To use hyperlink &lt;a&gt; [read as anchor] tag is used. &lt;\/a&gt; is mandatory to close &lt;a&gt;. Href [read as Hyperlink reference] is a compulsory attribute for &lt;a&gt;.<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;h1&gt; This is hyperlink example.&lt;\/h1&gt;<\/p>\n<p>click here to go to &lt;a href=&#8221;page2.html&#8221;&gt;Page 2&lt;\/a&gt;.<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-62 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-33.png\" alt=\"\" width=\"573\" height=\"367\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-33.png 573w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-33-300x192.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-33-65x42.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-33-225x144.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-33-350x224.png 350w\" sizes=\"auto, (max-width: 573px) 100vw, 573px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">There is a page 2 exist. It has also provide hyperlink to move from page 2 to page 1.<\/span><\/p>\n<\/div>\n<div>\n<p>\u00a0 \u00a0 &lt;html&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;h1&gt;This is page 2&lt;\/h1&gt;<\/p>\n<p>click here to go to &lt;a href=&#8221;page1.html&#8221;&gt;Page 1&lt;\/a&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-63 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-34.png\" alt=\"\" width=\"579\" height=\"364\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-34.png 579w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-34-300x189.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-34-65x41.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-34-225x141.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-34-350x220.png 350w\" sizes=\"auto, (max-width: 579px) 100vw, 579px\" \/><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<div>\n<p>&nbsp;<\/p>\n<p>As the mouse moves over Page 1, the cursor symbol has changed as finger up hand.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">By default, color of hyperlink is blue. To change the color of hyperlink, &lt;body&gt; has link attribu. &lt;body&gt; has link, alink (for active link) and vlink (for visited link) attributes. Three different colors can be choose for each link. Active link is link when user press the mouse button, visited link display color when a particular page of hyperlink page is visited.<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;body link=&#8221;Red&#8221; alink=&#8221;Blue&#8221; vlink=&#8221;Green&#8221;&gt;<\/p>\n<p>&lt;h1&gt; This is example for shows different colors for hyperlink.&lt;\/h1&gt; click here to go to &lt;a href=&#8221;page2.html&#8221;&gt;Page 2&lt;\/a&gt; &lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-64 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-35.png\" alt=\"\" width=\"574\" height=\"362\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-35.png 574w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-35-300x189.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-35-65x41.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-35-225x142.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-35-350x221.png 350w\" sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>An image can also be used as hyperlink.<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;h1&gt;Image as Hyperlink&lt;\/h1&gt;<\/p>\n<p>This is text &lt;a href=&#8221;page2.html&#8221;&gt;Hyperlink&lt;\/a&gt;.<\/p>\n<p>&lt;br&gt;<\/p>\n<p>&lt;a href=&#8221;page2.html&#8221; alt=&#8221;garden&#8221; title=&#8221;Click me to go to Page 2&#8243;&gt; &lt;img src=&#8221;Garden.jpg&#8221; height=&#8221;100&#8243; width=&#8221;100&#8243;&gt; &lt;\/a&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>&nbsp;<\/p>\n<p>Title attribute is used as tool tip text.<\/p>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-65 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-36.png\" alt=\"\" width=\"568\" height=\"360\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-36.png 568w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-36-300x190.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-36-65x41.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-36-225x143.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-36-350x222.png 350w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/p>\n<div>\n<p>&nbsp;<\/p>\n<p><strong>BOOKMARK<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Bookmark is an important concept in hyperlink. It works similar as manual bookmark works. It is known that bookmark help us to remember on which page we are when we reading the book. In the same way, bookmark in HTML allows user to navigate at within the same page or another page to particular location. In the below example there are 2 files to demonstrate the bookmark example. The file bookmarkmain has following code.<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;head&gt;<\/p>\n<p>&lt;title&gt;Book Mark Example&lt;\/title&gt;<\/p>\n<p>&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;h1&gt; Home &lt;\/h1&gt;<\/p>\n<p>&lt;br&gt;&lt;br&gt;<\/p>\n<p>&lt;a href=&#8221;Chapter1.html#topic2&#8243;&gt;Chapter 1 Topic 2&lt;\/a&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">When user click on the link, he redirected to the file bookmred\u2019s topic 2. The user does not required to scroll to move to topic to. As the user clicks the link, he redirects to the link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-66 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-37.png\" alt=\"\" width=\"569\" height=\"320\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-37.png 569w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-37-300x169.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-37-65x37.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-37-225x127.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-37-350x197.png 350w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/p>\n<p><span style=\"text-align: justify;font-size: 1em\">On the bookmarked page, there is internal link is provided by name. So user can move to any particular section when he clicks a particular link.<\/span><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-67 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-38.png\" alt=\"\" width=\"565\" height=\"344\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-38.png 565w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-38-300x183.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-38-65x40.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-38-225x137.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-38-350x213.png 350w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-68 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-39.png\" alt=\"\" width=\"574\" height=\"377\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-39.png 574w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-39-300x197.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-39-65x43.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-39-225x148.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-39-350x230.png 350w\" sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"text-align: initial;font-size: 1em\">TABLE<\/strong><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Table is used to show data in tabular format. The tabular format is necessary to improve the readability of data. For example, Time-table is look good when it is displayed in tabular format.<\/p>\n<p>&nbsp;<\/p>\n<p>To create a table following tags are used.<\/p>\n<\/div>\n<div>\n<p>\u00a0 \u00a0 \u00a0&lt;TABLE&gt;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 for creating a table (start tag)<\/p>\n<p>&lt;CAPTION&gt;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0for providing caption (title) to the table. It is optional tag.<\/p>\n<p>&lt;TR&gt;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0for creating a table row<\/p>\n<p>&lt;TH&gt;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0for creating a column header of a table<\/p>\n<p>&lt;TD&gt;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0table data element<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">Let\u2019 us create a table.<\/span><\/p>\n<\/div>\n<div>\n<p>\u00a0 \u00a0 &lt;HTML&gt;<\/p>\n<p>&lt;BODY&gt;<\/p>\n<p>&lt;TABLE&gt;<\/p>\n<p>&lt;CAPTION&gt;TABLE &#8211; 1&lt;\/CAPTION&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p>&lt;TH&gt;Heading1&lt;\/TH&gt;<\/p>\n<p>&lt;TH&gt;Heading2&lt;\/TH&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p>&lt;TD&gt;Row1 Col1&lt;\/TD&gt;<\/p>\n<p><span style=\"font-size: 1em;text-align: initial\">\u00a0&lt;TD&gt;Row1 Col2&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row2 Col1&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row2 Col2&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row3 Col1&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row3 Col2&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TABLE&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/BODY&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/HTML&gt;<\/span><\/p>\n<\/div>\n<div>\n<p>The output of the table will be below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-69 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-40.png\" alt=\"\" width=\"236\" height=\"142\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-40.png 236w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-40-65x39.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-40-225x135.png 225w\" sizes=\"auto, (max-width: 236px) 100vw, 236px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Table tag has attributes. These attributes are Align, Border, CellSpacing, Cellpadding and Width.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Align attribute is used to provide alignment of the table. The values can be any one of the left, centre or right.<\/p>\n<p>&nbsp;<\/p>\n<p>Border attribute is used to provide boarder width in pixels. The default border width is 0.<\/p>\n<p>&nbsp;<\/p>\n<p>Cellspacing is used to set the space between adjacent cells.<\/p>\n<p>&nbsp;<\/p>\n<p>Cellpadding is used to set the space of text within the cell and cell-border.<\/p>\n<p>&nbsp;<\/p>\n<p>Width is used to set table width. Table width can be in pixel or in percentage of page.<\/p>\n<p>&nbsp;<\/p>\n<p>To create a table with border add the border attributes within table tag.<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;HTML&gt;<\/p>\n<p>&lt;BODY&gt;<\/p>\n<p>&lt;TABLE border=&#8221;2&#8243;&gt;<\/p>\n<p>&lt;CAPTION&gt;TABLE &#8211; 1&lt;\/CAPTION&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p>&lt;TH&gt;Heading1&lt;\/TH&gt;<\/p>\n<p>&lt;TH&gt;Heading2&lt;\/TH&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p>&lt;TD&gt;Row1 Col1&lt;\/TD&gt;<\/p>\n<p>&lt;TD&gt;Row1 Col2&lt;\/TD&gt;\\<\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row2 Col1&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row2 Col2&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row3 Col1&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row3 Col2&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TABLE&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/BODY&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/HTML&gt;<\/span><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-70 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-41.png\" alt=\"\" width=\"186\" height=\"150\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-41.png 186w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-41-65x52.png 65w\" sizes=\"auto, (max-width: 186px) 100vw, 186px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;HTML&gt;<\/p>\n<p>&lt;BODY&gt;<\/p>\n<p>&lt;TABLE border=&#8221;2&#8243; cellspacing=&#8221;5&#8243;&gt;<\/p>\n<p>&lt;CAPTION&gt;TABLE &#8211; 1&lt;\/CAPTION&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p>&lt;TH&gt;Heading1&lt;\/TH&gt;<\/p>\n<p>&lt;TH&gt;Heading2&lt;\/TH&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p>&lt;TD&gt;Row1 Col1&lt;\/TD&gt;<\/p>\n<p>&lt;TD&gt;Row1 Col2&lt;\/TD&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p>&lt;TD&gt;Row2 Col1&lt;\/TD&gt;<\/p>\n<p>&lt;TD&gt;Row2 Col2&lt;\/TD&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p>&lt;TD&gt;Row3 Col1&lt;\/TD&gt;<\/p>\n<p>&lt;TD&gt;Row3 Col2&lt;\/TD&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;\/TABLE&gt;<\/p>\n<p>&lt;\/BODY&gt;<\/p>\n<p>&lt;\/HTML&gt;<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-71 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-42.png\" alt=\"\" width=\"189\" height=\"160\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-42.png 189w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-42-65x55.png 65w\" sizes=\"auto, (max-width: 189px) 100vw, 189px\" \/><\/strong><\/p>\n<div>\n<p>&nbsp;<\/p>\n<p>&lt;HTML&gt;<\/p>\n<p>&lt;BODY&gt;<\/p>\n<p>&lt;TABLE border=&#8221;2&#8243; cellpadding=&#8221;5&#8243;&gt;<\/p>\n<p>&lt;CAPTION&gt;TABLE &#8211; 1&lt;\/CAPTION&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p>&lt;TH&gt;Heading1&lt;\/TH&gt;<\/p>\n<p>&lt;TH&gt;Heading2&lt;\/TH&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p>&lt;TD&gt;Row1 Col1&lt;\/TD&gt;<\/p>\n<p>&lt;TD&gt;Row1 Col2&lt;\/TD&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p>&lt;TD&gt;Row2 Col1&lt;\/TD&gt;<\/p>\n<p>&lt;TD&gt;Row2 Col2&lt;\/TD&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p>&lt;TD&gt;Row3 Col1&lt;\/TD&gt;<\/p>\n<p>&lt;TD&gt;Row3 Col2&lt;\/TD&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;\/TABLE&gt;<\/p>\n<p>&lt;\/BODY&gt;<\/p>\n<p>&lt;\/HTML&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-72 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-43.png\" alt=\"\" width=\"197\" height=\"187\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-43.png 197w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-43-65x62.png 65w\" sizes=\"auto, (max-width: 197px) 100vw, 197px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&lt;HTML&gt;<\/p>\n<p>&lt;BODY&gt;<\/p>\n<p>&lt;TABLE border=&#8221;2&#8243; align=&#8221;center&#8221; width=&#8221;70%&#8221;&gt; &lt;CAPTION&gt;TABLE &#8211; 1&lt;\/CAPTION&gt;<\/p>\n<p>&lt;TR&gt;<\/p>\n<p><span style=\"font-size: 1em;text-align: initial\">&lt;TH&gt;Heading1&lt;\/TH&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TH&gt;Heading2&lt;\/TH&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row1 Col1&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row1 Col2&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row2 Col1&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row2 Col2&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row3 Col1&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;TD&gt;Row3 Col2&lt;\/TD&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TR&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/TABLE&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/BODY&gt;<\/span><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">&lt;\/HTML&gt;<\/span><\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-73 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-44.png\" alt=\"\" width=\"605\" height=\"91\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-44.png 605w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-44-300x45.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-44-65x10.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-44-225x34.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-44-350x53.png 350w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>You can apply formatting attributes bgcolor with table also.<\/p>\n<p>TR tag has align, valign anf bgcolor attaributes. Following example demonstrates<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;HTML&gt;<\/p>\n<p>&lt;BODY&gt;<\/p>\n<p>&lt;TABLE ALIGN=&#8221;center&#8221; WIDTH=&#8221;400&#8243; HEIGHT=&#8221;300&#8243;&gt; &lt;TR ALIGN=&#8221;left&#8221; VALIGN=&#8221;top&#8221; BGCOLOR=&#8221;blue&#8221;&gt;<\/p>\n<p>&lt;TD&gt;Apple&lt;\/TD&gt;<\/p>\n<p>&lt;TD&gt;Ball&lt;\/TD&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;TR ALIGN=&#8221;center&#8221; VALIGN=&#8221;middle&#8221; BGCOLOR=&#8221;green&#8221;&gt; &lt;TD&gt;Cat&lt;\/TD&gt;<\/p>\n<p>&lt;TD&gt;Dog&lt;\/TD&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;TR ALIGN=&#8221;right&#8221; VALIGN=&#8221;bottom&#8221; BGCOLOR=&#8221;red&#8221;&gt; &lt;TD&gt;Elephant&lt;\/TD&gt;<\/p>\n<p>&lt;TD&gt;Fan&lt;\/TD&gt;<\/p>\n<p>&lt;\/TR&gt;<\/p>\n<p>&lt;\/TABLE&gt;<\/p>\n<p>&lt;\/BODY&gt;<\/p>\n<p>&lt;\/HTML&gt;<\/p>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-74 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-45.png\" alt=\"\" width=\"419\" height=\"261\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-45.png 419w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-45-300x187.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-45-65x40.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-45-225x140.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-45-350x218.png 350w\" sizes=\"auto, (max-width: 419px) 100vw, 419px\" \/><\/p>\n<div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">TD tag has colspan and rowspan attributes. The colspan attribute describe how many columns a cell occupies. In the same way, the rowspan column attribute describe how many rows a cell occupies.<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;html&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;table border=&#8221;2&#8243;&gt;<\/p>\n<p>&lt;tr&gt;<\/p>\n<p>&lt;th colspan=&#8221;2&#8243;&gt;Admin&lt;\/th&gt;<\/p>\n<p>&lt;\/tr&gt;<\/p>\n<p>&lt;tr&gt;<\/p>\n<p>&lt;td&gt;Anand&lt;\/td&gt;<\/p>\n<p>&lt;td&gt;222&lt;\/td&gt;<\/p>\n<p>&lt;tr&gt;<\/p>\n<p>&lt;td&gt;Dhaval&lt;\/td&gt;<\/p>\n<p>&lt;td&gt;229&lt;\/td&gt;<\/p>\n<p>&lt;\/tr&gt;<\/p>\n<p>&lt;tr&gt;<\/p>\n<p>&lt;\/tr&gt;<\/p>\n<p>&lt;\/table&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-75 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-46.png\" alt=\"\" width=\"144\" height=\"146\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-46.png 144w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-46-65x66.png 65w\" sizes=\"auto, (max-width: 144px) 100vw, 144px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>In the same you can define row span.<\/p>\n<\/div>\n<p>&lt;html&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>&lt;table border=&#8221;2&#8243;&gt;<\/p>\n<p>&lt;tr&gt;<\/p>\n<p>&lt;th&gt;Month&lt;\/th&gt;<\/p>\n<p>&lt;th&gt;Points&lt;\/th&gt;<\/p>\n<p>&lt;th&gt;Difference for two months&lt;\/th&gt;<\/p>\n<p>&lt;\/tr&gt;<\/p>\n<p>&lt;tr&gt;<\/p>\n<p>&lt;td&gt;January&lt;\/td&gt;<\/p>\n<p>&lt;td&gt;45&lt;\/td&gt;<\/p>\n<p>&lt;td rowspan=&#8221;2&#8243;&gt;15&lt;\/td&gt;<\/p>\n<p>&lt;\/tr&gt;<\/p>\n<p>&lt;tr&gt;<\/p>\n<p>&lt;td&gt;February&lt;\/td&gt;<\/p>\n<p>&lt;td&gt;60&lt;\/td&gt;<\/p>\n<p>&lt;\/tr&gt;<\/p>\n<p>&lt;\/table&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-76 aligncenter\" src=\"http:\/\/itp9.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/29\/2018\/07\/1-47.png\" alt=\"\" width=\"370\" height=\"118\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-47.png 370w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-47-300x96.png 300w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-47-65x21.png 65w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-47-225x72.png 225w, https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-content\/uploads\/sites\/29\/2018\/07\/1-47-350x112.png 350w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>You can define rowspan and colspan simultaneously also.<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>you can view video on HTML<\/strong><\/td>\n<td><a href=\"https:\/\/youtu.be\/aHvYNpmPMug\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-120\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"\" width=\"36\" height=\"36\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div><strong>\u00a0 \u00a0 \u00a0References:<\/strong><\/div>\n<div><\/div>\n<ul>\n<li style=\"text-align: justify\">Ivan Bayross, Web Enabled Commercial Application Development Using\u00a0\u00a0HTML\/Javascript\/DHTML\/PHP , BPB Publications.<\/li>\n<li style=\"text-align: justify\">Steven Holzner, HTML Black book, Kogent Learning Solutions Inc.<\/li>\n<li style=\"text-align: justify\">Deidre Hayes, Sams teach yourself HTML 4 in 10 minutes,.<\/li>\n<li style=\"text-align: justify\">Ed Tittel , Mary Burmeister, HTML4 for Dummies, Wiley<\/li>\n<li style=\"text-align: justify\">Robert Sebesta, Programming the World Wide Web, Pearson Education Inc.<\/li>\n<li style=\"text-align: justify\">Deitel, Internet and World Wide Web How to Program, Pearson<\/li>\n<li style=\"text-align: justify\">Anne Boehm, Murach\u2019s HTML, XHTML and CSS, Murachs<\/li>\n<li style=\"text-align: justify\">Elisabeth Robson, Eric Freeman, \u201cHead First HTML and CSS \u201c, O\u2019Reilly<\/li>\n<li style=\"text-align: justify\">Thomas Powell, HTML and CSS The Complete Reference, McGrawHill Education India<\/li>\n<li style=\"text-align: justify\">John Duckett, Beginning HTML, XHTML, CSS and Java Script, Willy India<\/li>\n<li style=\"text-align: justify\">http:\/\/www.php.net<\/li>\n<li style=\"text-align: justify\">http:\/\/www.w3schools.com\/<\/li>\n<li style=\"text-align: justify\">http:\/\/www.tutorialspoint.com\/<\/li>\n<\/ul>\n","protected":false},"author":3,"menu_order":2,"template":"","meta":{"_acf_changed":false,"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":["dr-hiren-joshi"],"pb_section_license":""},"chapter-type":[],"contributor":[59],"license":[],"class_list":["post-50","chapter","type-chapter","status-publish","hentry","contributor-dr-hiren-joshi"],"part":3,"_links":{"self":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-json\/pressbooks\/v2\/chapters\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":17,"href":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-json\/pressbooks\/v2\/chapters\/50\/revisions"}],"predecessor-version":[{"id":456,"href":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-json\/pressbooks\/v2\/chapters\/50\/revisions\/456"}],"part":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-json\/pressbooks\/v2\/chapters\/50\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-json\/pressbooks\/v2\/chapter-type?post=50"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-json\/wp\/v2\/contributor?post=50"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/itp9\/wp-json\/wp\/v2\/license?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}