HTML ASSIGNMENTS

HTML ASSIGNMENTS

HISTORY OF HTML5:

HTML5 is a Markup language for structuring and presenting content for the World wide web and a core technology of the Internet. It is the fifth revision of the HTML standard (created in 1990 and standardized as HTML 4 as of 1997) and, as of December 2012, is a W3c candidate recommendation Its core aims have been to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices (web browsers, parsers etc.). HTML5 is intended to subsume not only HTML4, but also XHTML 1 and DOM LEVEL 2HTML.
Following its immediate predecessors HTML 4.01 and XHTML 1.1, HTML5 is a response to the observation that the HTML and XHTML in common use on the World Wide Web are a mixture of features introduced by various specifications, along with those introduced by software products such as web browsers, those established by common practice, and the many syntax error in existing web documents.It is also an attempt to define a single markup language that can be written in either HTML or XHTML syntax. It includes detailed processing models to encourage more interoperable implementations; it extends, improves and rationalises the markup available for documents, and introduces markup and application programminterfaces (APIs) for complex web applicatins.For the same reasons, HTML5 is also a potential candidates for cross-plat form mobile application. Many features of HTML5 have been built with the consideration of being able to run on low-powered devices such as smartphones and tablets. In December 2011, research firm Strategy Analytics forecast sales of HTML5 compatible phones will top 1 billion in 2013.
In particular, HTML5 adds many new syntactic features. These include the new <video>,<audio>and <canvas>element, as well as the integration of scalable vector graphics (SVG) content (that replaces the uses of generic <object> tags) and MathMLfor mathematical formulas. These features are designed to make it easy to include and handle multimediaand graphical content on the web without having to resort to proprietary plugins and APIs. Other new elements, such as <section>, <article>, <header> and <nav>, are designed to enrich the semantic content of documents. New attributes have been introduced for the same purpose, while some elements and attributes have been removed. Some elements, such as <a>, <cite> and <menu> have been changed, redefined or standardized. The APIs and Document Object model(DOM) are no longer afterthoughts, but are fundamental parts of the HTML5 specification. HTML5 also defines in some detail the required processing for invalid documents so that syntax errors will be treated uniformly by all conforming browsers and other user agents.



HISTORY OF HTML:


In 1980, physicist Tim berners-Lee who was a contractor at CERN, proposed and prototyped ENQUIRE, a system for CERN3 researchers to use and share documents. In 1989, Berners-Lee wrote a memo proposing an Internet-based Hypertext system. Berners-Lee specified HTML and wrote the browser and server software in the last part of 1990. In that year, Berners-Lee and CERN data systems engineer Robert Cailliau collaborated on a joint request for funding, but the project was not formally adopted by CERN. In his personal notes from 1990 he listed "some of the many areas in which hypertext is used" and put an encyclopedia first.


The first publicly available description of HTML was a document called "HTML Tags", first mentioned on the Internet by Berners-Lee in late 1991. It describes 18 elements comprising the initial, relatively simple design of HTML. Except for the hyperlink tag, these were strongly influenced by SGMLguid, an in-house SGML-based documentation format at CERN. Eleven of these elements still exist in HTML 4.


HyperText Markup Language is a markup language that Web browsers use to interpret and compose text, images and other material into visual or audible web pages. Default characteristics for every item of HTML markup are defined in the browser, and these characteristics can be altered or enhanced by the web page designer's additional use of CSS. Many of the text elements are found in the 1988 ISO technical report TR 9537 Techniques for using SGML, which in turn covers the features of early text formatting languages such as that used by the RUNOFF command developed in the early 1960s for the CTSS (Compatible Time-Sharing System) operating system: these formatting commands were derived from the commands used by typesetters to manually format documents. However, the SGML concept of generalized markup is based on elements (nested annotated ranges with attributes) rather than merely print effects, with also the separation of structure and processing; HTML has been progressively moved in this direction with CSS.


Berners-Lee considered HTML to be an application of SGML. It was formally defined as such by the Internet Engineering task force(IETF) with the mid-1993 publication of the first proposal for an HTML specification:"Hypertext Markup Language (HTML)" Internet-Draft by Berners-Lee and Dan Connolly, which included an SGMLDocument Type Definition to define the grammar. The draft expired after six months, but was notable for its acknowledgment of the NCSA Mosaic browser's custom tag for embedding in-line images, reflecting the IETF's philosophy of basing standards on successful prototypes.Similarly, Dave Ragget's competing Internet-Draft, "HTML+ (Hypertext Markup Format)", from late 1993, suggested standardizing already-implemented features like tables and fill-out forms.


After the HTML and HTML+ drafts expired in early 1994, the IETF created an HTML Working Group, which in 1995 completed "HTML 2.0", the first HTML specification intended to be treated as a standard against which future implementations should be based.
Further development under the auspices of the IETF was stalled by competing interests. Since 1996, the HTML specifications have been maintained, with input from commercial software vendors, by the world wide web consortium(W3C). However, in 2000, HTML also became an international standard (ISO/IEC) 15445:2000). HTML 4.01 was published in late 1999, with further errata published through 2001. In 2004 development began on HTML5 in the Web Hypertext Application Technology working group (WHATWG), which became a joint deliverable with the W3C in 2008.


CODES:  
MAY/04/2013
<html>
<head>
<title>understand</title>
</head>
<body>
<div id="div1">
<img src="images/t2.jpg" height=100 width=100/>
<ims src="images/t2.jpg" height=100 width=100/>
</div>
<div id="div2">
<img src="images/t1.jpg" height=100 width=100/>
<center><ims src="images/t2.jpg" height=100 width=100/></center>
<img src="images/t1.jpg" height=100 width=100/>
<p>please enter to check your name</p>
<p>today's class was fun</p>
<h4>2MAO WOULD BE FUN</h4>

<ul>
<li>godfrey</li>
<li>emperor</li>
<li>elikor</li>
<li>chizi</li>
</ul>
</div>
<div id="div3">
<ul>
<li>home</li>
<li>about us</li>
<li>contact us</li>
<li>register</li>
</ul>
<ul>
<li>home</li>
<li>about us</li>
<li>contact us</li>
<li>register</li>
</ul>
</div>
</body>
</html>
NEXT CODE: SAME DATE.........

 <html>
<head>
<title>images</title>
</head>
<body>
<h1><center><b><i>~~~~~flirt4emperor.com~~~~~</h1></center></b></i>
<img src ="images/t1.jpg" height=200 width=200/>
<img src ="images/t2.jpg" height=200 width=200/>
<h1><center><b><i>WEBSITE FUNCTIONS<h1></center></b></i>
<ol>
<li><b>fligth booking online</li></b>
<li><b>chat with new friends</li></b>
<li><b>make free calls online</li></b>
<li><b>buy games online</li></b>
</ol>
<h1><center><b><i>WEBSITE MENUS</center></b></i></h1>
<ul>
<li><b>home</li></b>
<li><b>about us</li></b>
<li><b>contact us</li></b>
<li><b>register</li></b>
</ul>
</body>
</html>
NEXT CODE:SAME DATE.......
<html>
<head>
<title>godfrey.com</title>
<body>
<h1><center><u>WELCOME</u></h1></center>
<p>this is my first website,we are just starting.my name is godfrey elikor am an APTECH student.</p>

</body>
</head>
</html>===============================================================================================================
6/june/2013
div structuring and styling
Assignment

<html>
<head>
<title> </title>
<style type="text/css">
html,body,div,h1,h2,h3,h4,h5,h6,img,li,ol,ul,p,span
{
margin:0px;
padding:0px
}

body

{
margin:0 auto;
width:800px;
height:800px;
background-color:tan;
}

#header

{
background-color:grey;
width:800px;
height:100px;
}

#main

{
background-color:pink;
width:800px;
height:650px;
}

#manside

{
float:right;
background-color:gold;
width:300px;
height:100px;
}

#manside1

{
float:left;
background-color:purple;
height:650px;
width:200px;
}

#mside2

{
float:left;
background-color:yellow;
height:65n0px;
width:600px;
}

#sidesec1

{
backgroud-color:green;
width:600px;
height:220px;
}

#sidecon2

{
background-color:red;
width:600px;
height:210px;
}

#sidecom3

{
background-color:blue;
width:600px;
height:220px;
}

#con1

{
float:left;
width:200px;
background-color:rgba(153,153,255,1);
height:220px;
}

#con2

{
float:left;
background-color:rgba(204,255,255,1);
width:200px;
height:220px;
}

#con3

{
float:left;
background-color:rgba(204,204,153,1);
width:200px;
height:220px;
}

#man1

{
float:left;
background-color:rgba(255,204,204,1);
width:120px;
height:220px;
}

#man2

{
float:left;
background-color:brown;
width:120px;
height:220px;
}

#man3

{
float:left;
background-color:rgba(102,51,204,1);
width:120px;
height:220px;
}

#man4

{
float:left;
background-color:grey;
width:120px;
height:220px;
}

#man5

{
float:left;
background-color:rgba(255,51,102,1);
width:120px;
height:220px;
}

#side1sec

{
background-color:rgba(255,204,255,1);
width:200px;
height:200px;
}

#footer

{
background-color:black;
width:800px;
height:50px;
}

</style>

</head>
<body>
<div id="header">
<div id="manside"></div>
</div>
<div id="main">
<div id="manside1">
<div id="side1sec"></div>
</div>
<div id="mside2">
<div id="sidesec1">
<div id="con1"></div>
<div id="con2"></div>
<div id="con3"></div>
</div>
<div id="sidecon2"></div>
<div id="sidecom3">
<div id="man1"></div>
<div id="man2"></div>
<div id="man3"></div>
<div id="man4"></div>
<div id="man5"></div>
</div>
</div>
</div>
<div id="footer"></div>
</body>
</html>
==============================================================================================
20/06/2013
how to make a simple calculator
using java script
see codes below:


<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>introduction to javascript</title>
</head>
<style>

#calculator
{
background-color:rgba(153,0,51,.4);
width:170px;
}
#calculator #screen
{
border:2px double black;
width:97%;
}
input[type="button"]:hover
{
background-color:rgba(255,0,255,.2);
color:black;
}
</style>
<body>
<div id="calculator">
<form>
<input type="text" id="screen"/>
<p><input type="button" id="btn1" value="1"/><input type="button" id="btn2" value="2"/><input type="button" id="btn3" value="3"/><input type="button" id="btn4" value="4"/><input type="button" id="btn5" value="5"/><input type="button" id="btn6" value="6"/></p>
<p><input type="button" id="btn7" value="7"/><input type="button"id="btn8" value="8"/><input type="button" id="btn9" value="9"/><input type="button" id="btn0" value="0"/><input type="button" id="btnplus" value="+"/><input type="button" id="btnminus" value="-"/><input type="button" id="btnmult" value="*"/>
<input type="button" id="btndiv" value="/"/></p>

<p>
<input type="button" id="btnequal" value="="/>
<input type="button" id="clr" value="clear"/>
</p>

</form>
</div>
<script>
function calculator()
{
var add=false;
var minus=false;
var mult=false;
var div=false;
var a,b,c;
//var scr=document.getElementById("screen");
var one=document.getElementById("btn1");
one.onclick=function()
{
var scr=document.getElementById("screen");
scr.value=scr.value+one.value;
}

var two=document.getElementById("btn2");
two.onclick=function()
{
var scr=document.getElementById("screen");
scr.value=scr.value+two.value;
}
var three=document.getElementById("btn3");
three.onclick=function()
{
var scr=document.getElementById("screen");
scr.value=scr.value+three.value;
}


var four=document.getElementById("btn4");
four.onclick=function()
{
var scr=document.getElementById("screen");
scr.value=scr.value+four.value;
}
var five=document.getElementById("btn5");
five.onclick=function()
{
var scr=document.getElementById("screen");
scr.value=scr.value+five.value;
}
var six=document.getElementById("btn6");
six.onclick=function()
{
var scr=document.getElementById("screen");
scr.value=scr.value+six.value;
}
var seven=document.getElementById("btn7");
seven.onclick=function()
{
var scr=document.getElementById("screen");
scr.value=scr.value+seven.value;
}
var eight=document.getElementById("btn8");
eight.onclick=function()
{
var scr=document.getElementById("screen");
scr.value=scr.value+eight.value;
}
var nine=document.getElementById("btn9");
nine.onclick=function()
{
var scr=document.getElementById("screen");
scr.value=scr.value+nine.value;
}
var zero=document.getElementById("btn0");
zero.onclick=function()
{
var scr=document.getElementById("screen");
scr.value=scr.value+zero.value;
}
var additn=document.getElementById("btnplus");
additn.onclick=function()
{
var scr=document.getElementById("screen");
a=scr.value;
scr.value="";
add=true;
}
var minus=document.getElementById("btnminus");
minus.onclick=function()
{
var scr=document.getElementById("screen");
a=scr.value;
scr.value="";
minus=true;
}
var mult=document.getElementById("btnmult");
mult.onclick=function()
{
var scr=document.getElementById("screen");
a=scr.value;
scr.value="";
mult=true;
}
var div=document.getElementById("btndiv");
div.onclick=function()
{
var scr=document.getElementById("screen");
a=scr.value;
scr.value="";
div=true;
}

var equal=document.getElementById("btnequal")
equal.onclick=function()
{
var scr=document.getElementById("screen");
b=scr.value;
if(add)
{
c=parseInt(a)+parseInt(b);
scr.value=c;
add=false;
}else if(minus)
{

c=parseInt(a)-parseInt(b);
scr.value=c;
minus=false;
}else if(mult)
{
c=parseInt(a)*parseInt(b);
scr.value=c;
mult=false;
}else if(div)
{
c=parseInt(a)/parseInt(b);
scr.value=c;
div=false;
}

}
}
calculator();
</script>
</body>

</html>
=============================================================================================================
18/06/2013
site
html/css.
see code below:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>simple site</title>
<style type="text/css">
html,body,header,aside,h1,h2,h3,h4,h5,h6,ol,ul,li,img,p,form,span
{
margin: 0px;
padding: 0px;
}
/*
control the html element browser that don't understande*/
header,footer,aside
{
display: block;
}

body
{
margin:0 auto;
width:700px;
height:100%;
border:2px solid black;
border-radius:10px 10px 0 0;
background-image:url(images/Streaming%20Elegance.bmp);
background-attachment:fixed;


}

header
{
width:700px;
height:100px;
background-color:rgba(204,255,255,1);
margin-bottom:5px;
border-radius:10px 10px 0 0;
}
aside
{
float:left;
margin-bottom:5px;
}

#aside1
{
width:200px;
height:595px;
background-color:grey;

}
#aside2
{
width:500px;
height:595px;
background-color:rgba(255,255,153,.3);
}
footer
{
clear:both;
width:700px;
height:100px;
background-color:black;
}
nav
{
height:50px;
width:100%;
background-color:rgba(255,51,0,1);
text-align:center;
}
header>h1
{
color:black;
font-family:fantacy;
text-align:center;
padding-top:5px;
text-align:center;
}
#OLD
{
color: rgba(204,0,102,1);
font-family:Palatino;
font-style:italic;
}

nav>ul
{
list-style:none;
}
nav ul>li
{
float:left;
width:95px;
text-transform:lowercase;
text-align:center;
margin-left:4px;
background-color:yellow;
border-radius:5px 5px 0 0;
font-style:italic;
font-family:Lucida;
color:purple;
}
#imgdiv
{
width:100%;
height:300px;
}
#divsearch
{
float:right;
}
#divsearch p
{
font-family:sans-serif;
color:rgba(255,102,204,1);
}
.clear
{
clear:both;
}
#btngo:hover
{
color:red;
}
footer>p
{
color:white;
font:Lucida;
text-align:center;
font-style:italic;
bottom:10px;
}
#aside1 p
{
text-align: center;
font-family: Palatino;
background-color: rgba(51,255,255,.20);
color: rgba(214,214,214,1);
}
#bbg:hover
{
color:purple;
background-image:url(../../Pictures/2013-05/Blush.png);
}
#llp:hover
{
color:rgba(255,102,0,1);
background-image:url(../../Pictures/2013-05/1luv.jpg);
}
nav hr
{
text-align:center;
color:rgba(255,51,51,1);
font-size:16px;
font-family:Verdana;
font-style:italic;
}
</style>
</head>
<body>
<header>
<div id="divsearch">
<br class="clear"/>
<form>
<p>search
<input type="text" id="search"/>

<input type = "submit" value = "GO"  id="btngo"/>
</p>
</form>
</div>
<br class="clear"/>
<h1><span id="OLD">OLD</span>MAIL.com</h1>
</header>
<aside id="aside1">
<form>
<p>username
<input type="text" name="un"/>
<p>lastname
<input type="text" name="ln"/>
<p>email address
<input type="text" name="em"/>
<p>retype email
<input type="text" name="rem"/>
<p>password
<input type="password" name="pword"/>
<p>retype password
<input type="password" name="rpword"/>
<p>phone number
<input type="number" name="number"/>
<input type="submit" value="register" id="bbg"/>
<input type="reset" value="reset" id="llp"/>
</p>
</form>

</aside>
<aside id="aside2">
<nav>
<ul>
<li>home</li>
<li>about us</li>
<li>contact us</li>
<li>services</li>
<li>faq</li>
</ul>
<hr>You are welcome to my website</hr>
</nav>
<div id="imgdiv">
<img src="images/t2.jpg" height=300 width=100%/>
</aside>
<footer>
<p>&copy;2013</p>
</footer>
</body>

</html>
==================================================================================================
14/06/2013
rowspan
see code below:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<style type="text/css">
</style>
<body>
<center><table border="2" bordercolor="#FF00FF"></center>
<tr align="center">
<th>manufacturer</th>
<th>model</th>
<th>price</th>
</tr>
<tr align="center">
<th rowspan="3">audi</th>
<th>34.5</th>
<th>1million</th>
</tr>
<tr align="center">
<td>a5</td>
<td>42.6</td>
</tr>
<tr>
<td>a6</td>
<td>30.75</td>
</tr>
</table>
</body>
</html>
================================================================================================
14/06/2013
colpan
see code below:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>

<body>
<table border "1">
<tr>
<th colspan="2">IT</th>
<th colspan="2">acount</th>
</tr>
<tr>
<th>name</th>
<th>location</th>
<th>course</th>
<th>amount</th>
</tr>
<tr>
<td>mark</td>
<td>lagos</td>
<td>computer SC</td>
<td>#13,000</td>
</tr>
<tr>
<td>seun</td>
<td>osun</td>
<td>COMP PRG</td>
<td>#13,000</td>
<td>
<td>
</table>
</body>
</html>
===============================================================================
14/06/2013
tables
see code below:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>table</title>
</head>

<body>
<table border="2">
<tr>
<td>name</td>
<td>course</td>
<td>amount</td>
</tr>
</table>
</body>
</html>
NEST CODE:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>table3</title>
</head>

<body>
<table border="2">
<tr>
<td>shola</td>
<td>seun</td>
<td>godfrey</td>
</tr>
<tr>
<td>ahmed</td>
<td>uche</td>
<td>james</td>
</tr>
<tr>
<td>fadeyi</td>
<td>olatitan</td>
<td>great biodun</td>
</tr>
</table>

</body>
</html>
NEST CODE:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>table3t</title>
</head>

<body>
<table>
<tr>
<th>name</th>
<th>course</th>
<th>amount</th>
</tr>
<tr>
<td>godfrey</td>
<td>programing</td>
<td>1,000,000,000</td>
</tr>
<tr>
<td>seun</td>
<td>ccna</td>
<td>1,200,000</td>
</tr>
</table>
</body>

</html>
======================================================================================
07/06/2013
layouts
see code below:

<html>
<head>
<title>godfrey</title>
<body>
<style type="text/css">
html,body,div,h1,h2,h3,h4,h5,h6,p,img,li,ul,ol,span{

margin:0px;
padding:0px;
}
body{
margin:0 auto;
width:700px;
height:800px;
background-color:black;
}
#header
{
width: 800px;
height: 80px;
background-color: gold;

}
#main
{
margin:0 auto;
width:800px;
height:580px;
background-color:blue;
}
#footer
{
width:800px;
height:40px;
background-color:yellow;
}

#aside1,#aside2{
float:left;
height:580px;
}
#aside
{
background-color:gren;
width:300px;
}
#aside2
{
background-color:red;
width:500px;
}



</style>

</head>


<body>
<div id="header"></div>
<div id="main">
<div id="aside1"></div>
<div id="aside2"></div>
</div>
<div id="footer"></div>

</body>

</html>

Nest code:
<html>
<head>
<title>2 column layout</title>
<style type="text/css">
html,div,body,h1,h2,h3,h4,h5,h6,p,img,li,ul,ol,span
{
margin:0px;
padding:0px;
}

body
{
margin:0 auto;
width:800px;
height:800px;
background-color:black;
}

#sec1,#sec2
{
float:left;
height:760px;
}

#footer
{
clear:both;
height:40px;
width:800px;
background-color:red;
}

#sec1
{
background-color:yellow;
width:100px;
}

#sec2
{
background-color:blue;
width:700px;
}
#sidea
{
background-color:gold;
width:700px;
height:60px;
<ul>
<li>home</li>
<li>contact us</li>
<li>gallery</li>
<li>about us</li>
</ul>

}
#sideb
{
height:300;
width:700;
background-color:brown;
}
#sideca#sidecb
{
float:left;
width:50;
heith:400;
background-color:lemon;
#sideca{
background-color:white;
}
#sidecb
{
background-color:pink;
}
#sidea
{
list-style:none;
}
#sidea
{
float:left;
width:100px;
text-align:center;
background-color:green;
margin-right:5px;
}

</style>
</head>

<body>
<div id="sec1"></div>
<div id="sec2">
<div id="sidea"></div>
<div id="sideb"></div>
<div id="sidec">
<div id="sideca"></div>
<div id="sidecb"></div>
</div>
</div>
<div id="footer"></div>

</body>


</html>

Nest code:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>solving comlexity of a layouy</title>
<style type="text/css">
html,body,p,h1,h2,h3,h4,h5,h6,li,ol,ul,div,img,footer,article,nav,aside
{
margin:0px;
padding:0px;
}
header,nav,article,footer
{
dispay:block;
}

body
{
margin:0 auto;
width:960px;
}
header
{
width:960px;
height:100px;
background-color:rgba(0,255,102,1);
border-radius:20px 20px 0px 0px;
background-image:url(images/mail%20buffer.psb);
}
nav
{
height:50px;
width:960px;
background-color:rgba(153,51,0,1);
}
article
{
width:960px;
height:700px;
background-color:rgba(204,204,0,1);
}
footer
{
width:960px;
background-color:rgba(204,102,0,1);
height:50px;
}
aside
{
float:left;
height:700px;
}
#aside1
{
width:200px;
background-color:rgba(0,204,204,1);
}
#aside2
{
width:560px;
background-color:#33FFFF;
}
#aside3
{
width:200px;
background-color:#999966;
}
.clear
{
clear:both;
}
#div1
{
background-color:rgba(102,0,204,1);
width:100%;
height:100px;
}
#div2
{
height:400px;
width:100%;
background-color:rgba(102,0,0,1);
}

#div3
{
background-color:rgba(102,153,0,1);
width:100%;
height:200px;
}
#aside2 #div2 #innerdiv2vi
{
width:60%;
height:400px;
background-color:blue;
float:left;
}
#aside2 #div2 #innerdiv2vg
{
width:40%;
height:400px;
background-color:pink;
float:left;
}
#innerdiv3v1
{
background-color:gold;
height:200px;
width:30%;
float:left;
}
#innerdiv3v2
{
background-color:purple;
width:30%;
height:200px;
float:left;
}
#innerdiv3v3
{
background-color:grey;
width:40%;
height:200px;
float:left;
}
nav>ul
{
list-style:none;
}
nav ul>li
{
float:left;
width:100px;
padding-top:5px;
text-transform:uppercase;
text-align:center;
margin-right:5px;
background-color:black;
border-radius:10px;
font-style:oblique;
font-family:Lucida;
color:rgba(204,51,0,1)
}
</style>
</head>
<body>
<header>
</header>
<!--end of header-->
<nav>
<ul>
<li>home</li>
<li>contact us</li>
<li>about us</li>
<li>faq</li>
<li>services</li>
<li>products</li>
<li>register</li>
<li>login</li>
<li>mailer</li>
</ul>
</nav>
<!--end of nav-->
<article>
<aside id="aside1"></aside>
<aside id="aside2">
<div id="div1"></div>
<div id="div2">
<div id="innerdiv2vi></div>
<div id="innerdiv2vg></div>
<br class="clear"/>
</div>
<div id="div3">
<div id="innerdiv3v1"></div>
<div id="innerdiv3v2"></div>
<div id="innerdiv3v3"></div>
</div>
</aside>
<aside id="aside3"></aside>
<br class="clear"/>
</article>
<!--end of article-->
<footer>
</footer>
<!--end of footer-->
</body>

</html>==============================================================================================================
21/06/2013
making forms
see code below:

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<style>
<input type="text/css"/>
html,body,nav,img,footer,li,ol,ul,h1,h2,h3,h4,h5,h6,section,aside,div,article,p,span
{
margin:0px;
padding:0px;
}
aside,footer,nav,section,article
{
display:block;
}
body
{
margin:0 auto;
width:700px;
background-color:tan;
}
#registrationform
{
background-color:grey;
}
#registrationform>h1
{
text-align:center;
color:yellow;
font-family:fantasy;
}
#fname
{
margin-left:40px;
}
#Lname
{
margin-left:44px;
}
#gen
{
margin-left:70px;
}
#date
{
margin-left:19px;
}
#soo
{
margin-left:3px;
}
form p
{
color:yellow;
}
</style>
<body>
<div id="registrationform">
<h1>ONLINE APPLICATION</h1>
<form>
<P>FIRST NAME:</span><span><input type="text" id="fname" name="fname"/></span></P>
<P>LAST NAME:<span><input type="text" id="Lname" name="lname"/></span></P>
<P>GENDER:</span><span><input type="text" id="gen" name="gen"/></span></P>
<P>DATE OF BIRTH:</span><span><input type="date" id="date" name="date"/></span></P>
<P>STATE OF ORIGIN:</span><span><input type="text" id="soo" name="soo"/></span></P>
<input type="submit" id="submit query"/>
<input type="button" id="clear" value="clear"/>


</form>
</body>
</html>










No comments:

Post a Comment