Добавлен: 18.06.2023
Просмотров: 115
Скачиваний: 2
http://htmlbook.ru
http://php.net
Константин Максимюк «Новый интернет для бизнеса» ISBN 978-5-699-41320-1; 2010 г.
Приложение
!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Пример страницы с таблицей №1.</title>
</head>
<body>
<table width="100%" border="1" cellspacing="1" cellpadding="1" bgcolor="">
<tr>
<th height="91" colspan=3 align="center" bgcolor="#66FF00">
<strong>Шапка сайта</strong></th>
</tr>
<tr>
<th height="47" colspan=3 align="center" bgcolor="#BCEE68">
<table width="50%" border="2" cellspacing="1" bgcolor="#4876FF">
<tr>
<td align="center"><a href="#"><font color="#FFFFFF">меню</font></a></td>
<td align="center"><a href="#"><font color="#FFFFFF">меню</font></a></td>
<td align="center"><a href="#"><font color="#FFFFFF">меню</font></a></td>
<td align="center"><a href="#"><font color="#FFFFFF">меню</font></a></td>
</tr>
</table>
</th>
</tr>
<tr>
<th width="17%" height="498" align="center" bgcolor="#BFEFFF">левый блок</th>
<th width="65%" align="center" bgcolor="grey">
<table width="90%" border="2" cellspacing="1" bordercolor="#0000CC">
<br>
</th>
<th width="18%" align="center" bgcolor="#98F5FF">правый блок</th>
</tr>
<tr>
<th height="49" colspan=3 align="center" bgcolor="#1E90FF">Подвал сайта</th>
</tr>
</table>
</body>
</html>
|
<body> |
|
<div id="pagewrap"> |
|
<div id="header"> |
|
<h1>Website Title</h1> |
|
<ul id="navigation"> |
|
<li><a href="#">Home</a></li> |
|
<li><a href="#">About</a></li> |
|
<li><a href="#">Contact</a></li> |
|
</ul><!-- end #header --> |
|
<div> |
|
<div id="contentwrap"> |
|
<div id="maincontent"> |
|
<h2>Main Content Title</h2> |
|
<p>Main content, which is so much more |
|
important than the secondary content that it |
|
makes one teary with emotion.</p> |
|
</div><!-- end #maincontent --> |
|
<div id="secondarycontent"> |
|
<h3>Sidebar Title</h3> |