Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Html Layout(Html)

Tags: html
Hello guys morning and welcome to this section of my tutorial, in this tutorial i wanna be talking about Html Layouts.
A webpage layout is very important to give better look to your website. It takes considerable time to design a website's layout with great look and feel.
Now-a-days, all modern websites are using CSS and Javascript based framework to come up with responsive and dynamic websites but you can create a good layout using sim ple HTML tables or division tags in combination with other formatting tags. This section of my tutorial gives you few examples on how to create a simple but working layout for your webpage using pure HTML and its attributes.
HTML Layout Using Tables
The simplest and most popular way of creating layouts is using HTML tag. These tables are arranged in columns and rows, so you can utilize these rows and columns in whatever way you like.

Example
For example, the following HTML layout example is achieved using a table with 3 rows and 2 columns but the header and footer column spans both columns using the colspan attribute:




HTML Layout using Tables



   
         
   
   
         
         
   
   
         
   

              

Main title


         

               Main Menu

               HTML

               PHP

               MySQL...
         

                  Web design tutorail on HTML Layout
         

               

                    Copyright ©  2018  Webdesigntutorialz.blogspot.com 
                
         


 

You can try the above code out your self to see the results and to have a better understanding of HTML Layout. Also feel free to drop your questions on the comment box below, they will be attended to as soon as possible.

Multiple Columns Layout Using Tables
You can design your webpage to put your web content in multiple pages. You can keep your content in middle column and you can use left column to use menu and right column can be used to put advertisement or some other stuff. 

Example
Here is a brief example on how to create a three column layout using a HTML table: 

nbsp; html>


Three Column HTML Layout



     
         
         
         
   
 
              Main Menu

              HTML

              PHP

              MYSQL... 
         
 
                Web design tutorialz
         

              Right Menu

              HTML

              PHP

              MYSQL...
         




You can also try the above code out for better understanding, drop your questions on the comment box below if you have any.

HTML Layout Using DIV, SPAN Tags
The
element is a block level element used for grouping HTML elements. While the
tag is a block-level element, the HTML element is used for grouping elements at an inline level.
Although we can achieve pretty nice layouts with HTML tables, but tables weren't really designed as a layout tool. Tables are more suited to presenting tabular data.

Note:This example makes use of Cascading Style Sheet (CSS), so before understanding this example you need to have better understanding of CSS.

Example
Here we will try to achieve same result using
tag along with CSS, whatever you have achieved in the previous examples that we used table.

nbsp; html>


HTML Layouts using DIV, SPAN



    

          

Page Main title


    

    
      width:100px;  float:left;">
        
Main Menu

          HTML

          PHP

          MYSQL...
    

    
      width:350px;  float:left;">
          

Web design tutorilz

 

    

    
      width:100px;  float:right;">
         
Right Menu

          HTML

          PHP

          MYSQL...
    

    

    

           Copyright ©  2018  Webdesigntutorialz.blogspot.com
    
    





You can try the above code out for better understanding, feel free to ask your questions.

Alright guys thats it for this tutorial on HTML Layout, in my next tutorial am gonna be introducing Cascading Style Sheet (CSS), don't forget to subscribe with us. Like our facebook page and do invite your friends to this great tutorial blog, thank you.  

Links to previous tutorials on HTML : Html Introduction,  Html Tags,  Html Document Structure,  The Doctype Declaration, Html Basic Tags, Html Basic Tags2 , Html Elements , Html Attributes , Html Attribute 2 , Html Formating , Html Formatting[CONTINUATION] , Grouping Content , HTML-Phrase Tags ,  Html-Phrase Tags[CONCLUSION] , Html-Meta Tags , Html-Comments , Html Images , Html Tables , Html Tables(Conclusion) , Html List , Html Text Links , Html Image Links ,  Html Frames , Html Iframes , Html Blocks , Html Backgrounds , Html Fonts , How to create Html Forms (Web Design Tutorial)How to Embed Multimedia into a Html web page(web design) , Html Marquees (Web design) , Html Header (Html tutorail) , Html Stylesheet (Html) , Javascript (Html)


This post first appeared on Web Design Tutorialz, please read the originial post: here

Share the post

Html Layout(Html)

×

Subscribe to Web Design Tutorialz

Get updates delivered right to your inbox!

Thank you for your subscription

×