Monthly Archives: March 2018


HTML16 Create a Web page, which should contain a table having two rows and two columns.

Create a Web page, which should contain a table having two rows and two columns.

 

Table, TR and TD Tags

Three tags form the essential ingredients for creating a table.

TABLE: This is the main tag. It tells the browser that a table follows. It has attributes like size and border width.

TR: A TableRow defines a horizontal row that consists of TableData cells.

TD: This tag specifies an individual block or cell in a table row.

Thus a table is made up of rows, which in turn are made up of cells.

HTML_Table_2_Rows_2_Columns_Page HTML_Table_2_Rows_2_Columns_Source_Code

 

Create a Web page, which should contain a table having two rows and two columns.

 

Html code:

 

<!DOCTYPE html>
 
<HTML>
<HEAD>
<TITLE>CSSimplified.com HTML16</TITLE>
</HEAD>
<BODY bgColor="yellow" Text="blue">
<BODY>
<TABLE BORDER="2" WIDTH="100%">
<TR>
<TD WIDTH="50%">1</TD>
<TD WIDTH="50%">2</TD>
</TR>
<TR>
<TD WIDTH="50%">3</TD>
<TD WIDTH="50%">4</TD>
</TR>
</TABLE>
</BODY>
</HTML>

 

Write above code in any text editor and save by htm or html extension and Open it in any browser by double clicking the file like internet explorer.

 

<!DOCTYPE html>

This tag defines the document type and HTML version.

 

<HTML>…</HTML>

This tag encloses the complete HTML document and mainly comprises of document header which is represented by <head>…</head> and document body which is represented by <body>…</body> tags.

 

<HEAD>…</HEAD>

This tag represents the document’s header which can keep other HTML tags like <title>, <link> etc.

 

<TITLE> CSSimplified.com HTML 16</TITLE>

The <title> tag is used inside the <head> tag to mention the document title.

 

<BODY>…</BODY>

This tag represents the document’s body which keeps other HTML tags like <h1>, <div>, <p> etc.

 

<TABLE>

The HTML <table> tag is used for defining a table. The table tag contains other tags that define the structure of the table.

 

<TR>

The HTML <tr> tag is used for specifying a table row within a table.

 

<TD>

The HTML <td> tag is used for specifying a cell or table data within a table.

 

The <!DOCTYPE> Declaration

The <!DOCTYPE> declaration tag is used by the web browser to understand the version of the HTML used in the document. Current version of HTML is 5 and it makes use of the following declaration:

<!DOCTYPE html>

There are many other declaration types which can be used in HTML document depending on what version of HTML is being used. We will see more details on this while discussing <!DOCTYPE…> tag along with other HTML tags.

Note:- To understand program for sequence in detail Please SEARCH numerically example: HTML01, HTML02, etc.

HTML15 Create a web page, showing an unordered list of names of five of your friends

Create a web page, showing an unordered list of names of five of your friends.

 

Unordered Lists

First, we will build an unordered list. Sometimes, these lists are also called bulleted lists. These lists are characterized by list items that do not have numbers. They are used when the points in the list have no particular order. They are delimited by the <UL> and </UL> tags. Each point in the list is delimited by the <LI> and </LI> tags.

HTML_Nested_List_Page HTML_Nested_List_Source_Code

Create a web page, showing an unordered list of names of five of your friends.

Html code:

<!DOCTYPE html>
<HTML>
<HEAD>
<TITLE>CSSimplified.com HTML15</TITLE>
</HEAD>
<BODY bgColor="clay" Text="blue">
<P ALIGN="center"><FONT SIZE="5"><B>CSSimplified.com examples..</B></FONT></P>
<P ALIGN="center"><FONT FACE="verdana" SIZE="5"><B>Friends List</B></FONT></P>
<UL>
<LI>Prachi</LI>
<LI>Rohan</LI>
<LI>Chirag</LI>
<LI>Kunal</LI>
<LI>Milin</LI>
</UL>
</BODY>
</HTML>

Write above code in any text editor and save by htm or html extension and Open it in any browser by double clicking the file like internetexplorer.

 

<!DOCTYPE html>

This tag defines the document type and HTML version.

 

<HTML>…</HTML>

This tag encloses the complete HTML document and mainly comprises of document header which is represented by <head>…</head> and document body which is represented by <body>…</body> tags.

 

<HEAD>…</HEAD>

This tag represents the document’s header which can keep other HTML tags like <title>, <link> etc.

 

<TITLE>CSSimplified.com HTML 13</TITLE>

The <title> tag is used inside the <head> tag to mention the document title.

 

<BODY>…</BODY>

This tag represents the document’s body which keeps other HTML tags like <h1>, <div>, <p> etc.

 

<P ALIGN=”center”>…</P>

The HTML <p> tag defines a paragraph of text.

 

<UL>

The HTML <ul> tag is used for creating an unordered list.

 

<LI>

The HTML <li> tag is used for specifying a list item in ordered, unordered, directory, andmenu lists.

 

<FONT>…</FONT>

The HTML <font> tag is used to specify the font of the text. It is deprecated in HTML as well as in XHTML.

 

<B>…</B>

The HTML <b> tag specifies bold text.

 

The <!DOCTYPE> Declaration

The <!DOCTYPE> declaration tag is used by the web browser to understand the version of the HTML used in the document. Current version of HTML is 5 and it makes use of the following declaration:

<!DOCTYPE html>

There are many other declaration types which can be used in HTML document depending on what version of HTML is being used. We will see more details on this while discussing <!DOCTYPE…> tag along with other HTML tags.

Note:- To understand program for sequence in detail Please SEARCH numerically example: HTML01, HTML02, etc.

HTML14 Create an HTML document containing a nested list showing the content page of any book

Create an HTML document containing a nested list showing the content page of any book.

 

Nested list

A nested list is simply a list

 

Unordered Lists

First, we will build an unordered list. Sometimes, these lists are also called bulletedlists. These lists are characterized by list items that do not have numbers. They are used whenthe points in the list have no particular order. They are delimited by the<UL> and </UL> tags. Each point in the list is delimited by the <LI> and </LI> tags.

 

Ordered Lists

Lists having numbered items are known as ordered lists. They are used when the items inthe list have a natural order. They can also be used when the number ofitems in the list needs to be known at a glance. To make an ordered list, simply change the <UL> tag to<OL>.

HTML_Nested_List_Page

HTML_Nested_List_Source_Code

Create an HTML document containing a nested list showing the content page of any book.

Html code:

 

<!DOCTYPE html>
<HTML>
<HEAD>
<TITLE>CSSimplified.com HTML14</TITLE>
</HEAD>
<BODY bgColor="clay" Text="blue" Link="blue" VLink="green" ALink="red">
<P ALIGN="center"><FONT SIZE="5"><B>CSSimplified.com examples..</B></FONT></P>
<P ALIGN="center"><FONT FACE="verdana" SIZE="5"><B>Dishes</B></FONT></P>
<OL>
<LI>Punjabi</LI>
<UL>
<LI>Veg. Muglai</LI>
<LI>Veg. Tawa Masala</LI>
<LI>Paneer Tikka Masala</LI>
<LI>Paneer Makhanwala</LI>
<LI>Paneer Pasanda</LI>
</UL>
<LI>Chinese</LI>
<UL>
<LI>American Copsuey</LI>
<LI>Veg. Hakka Noodels</LI>
<LI>Veg. Shezwan Rice</LI>
<LI>Veg. Fried Rice</LI>
<LI>Veg. Triple Rice</LI>
</UL>
<LI>Soups</LI>
<UL>
<LI>Sweet Corn Soup</LI>
<LI>Veg. Manchow Soup</LI>
<LI>Tomato soup</LI>
<LI>Hot n Saur Soup</LI>
<LI>Palak Soup</LI>
</UL>
<LI>Juices</LI>
<UL>
<LI>Mosambi</LI>
<LI>Pineapple</LI>
<LI>Orange</LI>
<LI>WaterMelon</LI>
<LI>Grapes</LI>
</UL>
<LI>Soups</LI>
<UL>
<LI>Sweet Corn Soup</LI>
<LI>Veg. Manchow Soup</LI>
<LI>Tomato soup</LI>
<LI>Hot n Saur Soup</LI>
<LI>Palak Soup</LI>
</UL>
<LI>Juices</LI>
<UL>
<LI>Mosambi</LI>
<LI>Pineapple</LI>
<LI>Orange</LI>
<LI>WaterMelon</LI>
<LI>Grapes</LI>
</UL>
</OL>
</BODY>
</HTML>

 

 

Write above code in any text editor and save by htm or html extension and Open it in any browser by double clicking the file like internetexplorer.

 

<!DOCTYPE html>

This tag defines the document type and HTML version.

 

<HTML>…</HTML>

This tag encloses the complete HTML document and mainly comprises of document header which is represented by <head>…</head> and document body which is represented by <body>…</body> tags.

 

<HEAD>…</HEAD>

This tag represents the document’s header which can keep other HTML tags like <title>, <link> etc.

 

<TITLE>CSSimplified.com HTML 15</TITLE>

The <title> tag is used inside the <head> tag to mention the document title.

 

<BODY>…</BODY>

This tag represents the document’s body which keeps other HTML tags like <h1>, <div>, <p> etc.

 

<PALIGN=”center”>…</P>

The HTML <p> tag defines a paragraph of text.

 

<FONT>…</FONT>

The HTML <font> tag is used to specify the font of the text. It is deprecated in HTML as well as in XHTML.

 

<B>…</B>

The HTML <b> tag specifies bold text.

 

<OL>

The HTML <ol> tag is used for creating an ordered list.

 

<LI>

The HTML <li> tag is used for specifying a list item in ordered, unordered, directory, and

menu lists.

 

<UL>

The HTML <ul> tag is used for creating an unordered list.

 

The <!DOCTYPE> Declaration

The <!DOCTYPE> declaration tag is used by the web browser to understand the version of the HTML used in the document. Current version of HTML is 5 and it makes use of the following declaration:

<!DOCTYPE html>

There are many other declaration types which can be used in HTML document depending on what version of HTML is being used. We will see more details on this while discussing <!DOCTYPE…> tag along with other HTML tags.

Note:- To understand program for sequence in detail Please SEARCH numerically example: HTML01, HTML02, etc.