Advertisement
Tech

Creating Page Layout Using HTML Tags: Give Your Website a Print Look

If you’d like your web site to have the look and feel of a printed publication, you can create such a page layout using HTML. Find out how to use HTML tags and tables to design the layout of your web site.

By Avionne Akanbi
Desk Tech
Reading time 2 min read
Word count 398
Publishing Multimedia Dtp tips
Creating Page Layout Using HTML Tags: Give Your Website a Print Look
Advertisement
Quick Take

If you’d like your web site to have the look and feel of a printed publication, you can create such a page layout using HTML. Find out how to use HTML tags and tables to design the layout of your web site.

On this page

Getting the “Printed” Look Online

So you would like to create a web site from the ground up? It’s best to start with the basics and keep it simple. As a graphic designer, once you learn the basic formula on how a website is created with an HTML table, you will soon have the freedom to design layouts around almost any design concept that comes to mind. Once you have grasped the simple HTML concepts and learn to easily program your web site, then you are ready to move on to advanced DHTML. But let’s take one step at a time.

Learning HTML Tables

Advertisement

If you are already familiar with HTML, you will know that it is the bare programming language that is used to design a web site. We will show you an example of how to easily create a page layout with HTML. We will create 3 simple page layouts using HTML.

The most common editor used to write HTML code is right at your fingertips on your PC. You can use Notepad or Microsoft Word to program simple HTML.

Advertisement

Let’s begin with creating HTML web page tables. Please type the following code into Notepad.

My webpage

My Logo

Advertisement

Left menu

Item 1

Advertisement

Item 2

Item 3…

Advertisement

The code above will produce this layout. (Click any image for a larger view.)

Here is yet another tag called which is used for adding headers to columns. It replaces the tags of the first row. Contents of are typically rendered in bold by browsers.

Advertisement
Title 1 Title 2 Title 3
One Two Three

The code above will produce this layout.

Webpage 2

Advertisement

If you want to divide the table into different compartments, this is where the DIV tag becomes important. This is another tag that replaces the table tag. The DIV tag groups HTML elements together such as the text and images which make up the web site. The following is an example of the DIV tag in action. You can use this for more complex layouts. Tables were not originally meant to be a complex layout tool, so this is where the DIV tag is very useful.

Using our previous HTML layout, we can use DIV and CSS to achieve a similar effect. The following code.

Advertisement

Main logo

Primary Menu

Advertisement

Item 1

Item 2

Advertisement

Item 3…

Body for paragraph

Advertisement

Bottom of website

The code above will produce this layout.

Advertisement

Webpage 3

Keep Exploring

More from Tech

7 Tips for Shooting Magic Hour

7 Tips for Shooting Magic Hour

Ask any photographer and they will tell you that one of the most important elements in photography is light. Magic hour …

Filed under
Publishing Multimedia
More topics
Dtp tips
Advertisement