html basic webpage with fixed width

Now We are going to make a simple basic webpage with fixed width. Previous chapter we make a basic webpage with fluid width i.e system width.

PHP Code:
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">

< head>
<
meta name="robots" content="index, follow" />
<
title>Free web hosting providetitle>
<
meta name="description" content="Free web hosting provide and managed by naman hosting for any one." />
<
meta name="keywords" content="free unlimited web hosting" />
<
meta name="viewport" content="width=device-width, initial-scale=1.0">
<
link rel="shortcut icon" href="/images/favicon.ico" type="image/vnd.microsoft.icon" />
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
meta http-equiv="content-language" content="EN" />
<
meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<
meta http-equiv="content-script-type" content="text/javascript" />
<
meta http-equiv="content-style-type" content="text/css" />
<
meta name="publisher" content="Free Web Hosting - nhgc.in" />
<
meta name="distribution" content="global">
<
meta name="rating" content="general"/>
<
meta name="author" content="Free Unlimited Web Hosting">
head>

< body bgcolor="red">
<
table width="500px" height="100%" align="center">
<
tr>
<
td class="left">
<
h1>Free Unlimited web hosting for Everyoneh1>
<
p align="justify">Want to host your own website? Or maybe even setup your very own web community?
Whatever your dream, Naman Hosting will help turn your ambitions into reality, and we would not charge
you a cent
. You can rely on us to offer you a stable platform to build your site on and get help from the
thousands of experienced web developers in our forums
..p>
td>
tr>
table>
body>

html>

Result:-

Free Unlimited web hosting for Everyone

Want to host your own website? Or maybe even setup your very own web community? Whatever your dream, Naman Hosting will help turn your ambitions into reality, and we would not charge you a cent. You can rely on us to offer you a stable platform to build your site on and get help from the thousands of experienced web developers in our forums..

Author: Ramesh Saini

Leave a Reply

Your email address will not be published. Required fields are marked *