Monday 22 September 2014

Lecture 7: HTML Layout using table and div tags.





Lecture 7

HTML Advance Tags – 

Today we will learn HTML Layout. 

HTML Layout: You generally seen that all websites shows there contents in different columns, they do this with the help of HTML layout. It is generally done to give better look to the website.
Example




Methods of Layouts:
1      
     1. Layout using table tag: The easiest and most useful way to create layout in html is by using HTML Tables. As tables are made up of rows and columns, you can easily use these rows and columns by the way you like.
Example

2  2 Layout using div tag: The div element is a block level element. It is used for grouping other html elements. The <div element is often used as a layout tool, as it can be positioned with CSS.

Example






Note: In Next lecture, we will start with CSS (Cascading Style Sheet).

No comments:

Post a Comment