Full width home advertisement

Welcome Home

Post Page Advertisement [Top]

The <div> element can be defined as a block level element used for grouping HTML elements. The HTML <div> tag is a block-level element, while the HTML <span> element is used for grouping elements at an inline level.


<!DOCTYPE html>



<title>HTML Layouts using DIV, SPAN</title>



<div style="width:100%">

<div style="background-color:#b5dcb3; width:100%">

<h1>This is Web Page Main title</h1>


<div style="background-color:#aaa; height:200px;width:100px;float:left;">

<div><b>Main Menu</b></div>

HTML<br />

PHP<br />



<div style="background-color:#eee; height:200px;width:350px;float:left;">

<p>Technical and Managerial Tutorials</p>


<div style="background-color:#aaa; height:200px;width:100px;float:right;">

<div><b>Right Menu</b></div>

HTML<br />

PHP<br />



<div style="background-color:#b5dcb3;clear:both">


Copyright © 2016 Scholarsglobe.com






Reference: Tutorials Point

No comments:

Post a Comment

Bottom Ad [Post Page]