Structure of the Problem Requirements
In this problem we will learn how to divide large area into sub number of division. You have a 4000 lines of code and that is very difficult to point our where can error occur. So we divide our code into sub division. For that purpose we use <div> tag. and in that tag you can also add the property of that code which in in </div> tag. In our example we can just change color of text. You can also give Id or Class name in div to represent Area of code.Here is the source code of this web page which help you in better understanding.SOURCE CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> Html Unorder List </title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<div style="color:#0aa0FF">
<div id="menu">
<div class="menu">
<h1> ANDEVELOPER </h1>
<ol>
<li> C++ </li>
<li> Java </li>
<li> Html </li>
<li> Php </li>
<li> CSS </li>
<li> Android </li>
<li> Linux </li>
<li> SEO </li>
</ol>
</div>
</div>
</div>
</body>
</html>
OUTPUT OF THE PROGRAM
div tag in Html |
Asad Niazi is Software Engineer , Programmer, Web Developers and a young mentor of Tech Solutions Desk and Blogging Solutions . Asad Love to writes about Technology, Programming, Blogging and make money online.
0 comments:
Post a Comment