Tuesday, October 13, 2015

HTML5 Tutorial For Beginners 12 # Using div Tags to Layout header, navig...









<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Html</title>
<style type="text/css">
#header {
    background-color:blue;
    color:white;
    text-align:center;
    padding:6px;
}
#navigation {
    line-height:40px;
    background-color:yellow;
    height:500px;
    width:100px;
    float:left;
    padding:5px;       
}
#section {
    width:350px;
    float:left;
    padding:10px;    
}
#foot {
    background-color:blue;
    color:white;
    text-align:center;
    padding:6px;    
    clear:both;
}
</style>
</head>
<body>
<div id="header">
<h1>Tutorial</h1>
</div>

<div id="navigation">
C++<br>
Java<br>
C#<br>
</div>

<div id="section">
<h2>Code Tutorials</h2>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
</p>
</div>

<div id="foot">
Copyright example.com
</div>
</body>
</html>






Searches related to using div tags

using div tags html

using div tags to keep images together

columns using div tags

div means in html

how to create a website using div tags

how do div tags work

div vs span

div formatting
IT Certification Category (English)640x480

Partner Sites

VideoToGifs.com

EasyOnlineConverter.com

SqliteTutorials.com


Top Online Courses From ProgrammingKnowledge

Python Course http://bit.ly/2vsuMaS
Java Coursehttp://bit.ly/2GEfQMf
Bash Coursehttp://bit.ly/2DBVF0C
Linux Coursehttp://bit.ly/2IXuil0
C Course http://bit.ly/2GQCiD1
C++ Coursehttp://bit.ly/2V4oEVJ
PHP Coursehttp://bit.ly/2XP71WH
Android Coursehttp://bit.ly/2UHih5H
C# Coursehttp://bit.ly/2Vr7HEl
JavaFx Coursehttp://bit.ly/2XMvZWA
NodeJs Coursehttp://bit.ly/2GPg7gA
Jenkins Course http://bit.ly/2Wd4l4W
Scala Coursehttp://bit.ly/2PysyA4
Bootstrap Coursehttp://bit.ly/2DFQ2yC
MongoDB Coursehttp://bit.ly/2LaCJfP
QT C++ GUI Coursehttp://bit.ly/2vwqHSZ