|
HTML Home
Create a Website HTML TutorialHTML Tutorial HomeAbout HTML Getting Started HTML Elements HTML Formatting HTML Attributes HTML Colors HTML Links HTML Images HTML Meta Tags HTML Comments HTML Forms HTML Tables HTML Image Maps HTML Frames HTML Entities HTML Layouts HTML Styles HTML Scripts HTML Website Templates Website Hosting Summary HTML Code GeneratorsHTML Code GeneratorHTML Table Generator Marquee Generator Music Code Generator HTML Text Generator Text Box Generator Free HTML CodesHTML Background CodeHTML Comment Box Codes HTML Scroll Box Codes HTML Font Codes HTML Picture Codes HTML Marquee Code HTML Music Codes HTML Templates More Codes... HTML ReferenceHTML ExamplesComplete HTML Tag List Complete HTML 5 Tag List HTML Special Characters Hex Color Codes HTML Help FREE Hosting!With every domain name you register with ZappyHost, you get FREE hosting.$1.99 Domain NamesWith every new non-domain purchase thru ZappyHost, you get a domain name for only $1.99. |
HTML LayoutsYou may have noticed that many websites have multiple columns in their layout - they are formatted like a magazine or newspaper. Many websites achieved this HTML layout using tables. HTML layout with tablesTables have been a popular method for achieving advanced layouts in HTML. Generally, this involves putting the whole web page inside a big table. This table has a different column or row for each main section. 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 This HTML code...
produces this layout...
HTML layout with DIV, SPAN and CSSAlthough we can achieve pretty nice layouts with HTML tables, tables weren't really designed as a layout tool. Tables are more suited to presenting tabular data. The div element is a block level element used for grouping HTML elements. Once grouped, formatting can be applied to the div element and everything contained within it. While the div tag is a block-level element, the HTML span element is used for grouping elements at an inline level. Using our previous HTML layout, we can use DIV and CSS to achieve a similar effect. The following code...
produces this layout...
Header
Left menu
Item 1 Item 2 Item 3...
Main body
Footer
One change to this that I'd recommend is that you place the CSS into an external style sheet. One major benefit of using CSS is that, if you place your CSS in a separate location (i.e. an external style sheet), your site becomes much easier to maintain. Advanced LayoutsAs you build more websites you'll be able to develop more advanced layouts. Having said this, you may still prefer to use a professional designer for your basic site layout. A good designer can develop a professional looking website template that you can use as a starter for your website. From there, you can use your HTML knowledge to customize it as you see fit. Finding a good designer can be a bit of a challenge (and costly). Fortunately, you can still get a professionally designed website without hiring a designer. Quackit offers you over 15,000 professionally designed templates at a very reasonable cost - most from around $50 - $60 per template. You can search for a professionally designed website template in Quackit's website template store. Enjoy this website?
Oh, and thank you for supporting Quackit! |
Need Content for your Website?Get unique, quality digital content for your website. You can even earn money by reselling it!Includes:
|
||||||