![]() |
|
Website design & developmentTables and DivsTo continue, you have two basic options for the layout of your site. You can use either tables or div tags. For now, we will start with tables. Like all other tags, tables also need opening and closing tags. Inside our initial table, we will start with just table rows < tr > and table collumns < td >. A table works as follows: I know, you are getting confused, but just push on, it will become clear soon. If you have closed your files. open both your .css file and your .html file with notepad. In your .html file,
replace "My first site" next to your opening body tag with < center >. no spaces. You will notice that we have two collumns in one row. you should never make your tables too big. Rather create two seperate tables which will allow the browser to load your page faster. Lets set the size of our tables them we can move on to content page.
Click in your opening table tag between the "e" and the ">". Hit your spacebar and type in width="100%" Now, move on to step 5 and we will get some content in. |
Learn how to design your own web site. Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 |