Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <head><!--define css values here--!>
- </head>
- <title></title>
- <body><p>There will be no maincontainer or container, or sections, just a bunch of line breaks and a simple table for the sake of practice. Right click, view source, to see my comments.</p>
- <br>also, this, http://www.slis.indiana.edu/faculty/hrosenba/www/Demo/Demo4.html</br>
- <br>
- <br>
- <br>
- <table border="2" width="100%" cellspacing="0" cellpadding="4" border="0">
- <caption>Representation of an Alias Nation!</caption>
- <thead>
- <tr>
- <th>name</th>
- <th>position</th>
- <th>Aliase</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>cell 1</td>
- <td>cell 2</td>
- <td><cell 3</td>
- <td><cell 4</td>
- <td><cell 5</5d>
- </tr>
- <tr>
- <td>cell a</td>
- <td>cell b</td>
- <td>cell c</td>
- <td>cell d</td>
- <td>cell e</td>
- </tr>
- </table>
- <!DOCTYPE HTML>
- <head></head>
- <body>
- <div id="maincontainer" > <!--notice how they put a space for the <> tags--!><!--This is a comment tag--!>
- <div id="container" ><!--Then they define a smaller container within the bigger one.--!>
- <!--they will now introduce table element, with width, cellspacing, cellpadding, and border. in html most of these are obsolete and are components of css. th tag defines a headline.-->
- <!--Basically, the entire mariokart 64 forum is a bunch of these little tables with links embedded to them that refer to some type of database of hyperlinks the domain mariokart64.com.-->
- <!--Concerning table tags. The order in which these tags are declared is important, the table is declared first, then the tr tag, then the td tag. td defines cells. while tr defines x-wise rows. you put a bunch of tr tags on top of eachother, to define a number of rows, then simply create td tags to define cells within those rows (coloums, y-wise). th bolds whatever text is in the cell in terms of visual presentation the two most important ones are tr and td and they must go in order. table, tr, td. It has attributes of width, valign"middle/center/etc" and align="left right" etc.--!>
- <!--class attribute in terms of tables refers to java and/or javascript and it can be an attribute of the td tag. I believe, where you would refer to a database or your java resource, i.e. <td class="menutop" other td attributes would be align, height, etc.--!>
- <!--it pays to be straight foward when it comes to tables--!>
- maincontainer is the entire webpage.
- container is surrounded by td elements to align the various sections.
- td elements are used to align the various sections define boundaries? I believe.
- Presentation vs Markup; the order the presentation is seen visually may not always correspond to the order the code is written in? makes it confusing.
- < div the main container into a smaller container using div tags.
- using css specify the cell spacing, cell padding, and border of the table element(s); there may be more than one, you do all this in the body tag.
- this is useful for simple single in-line groups of information, one row so to speak. if you want to make a big forum like the one on mariokart64.com then you would declare a table class.
- it is basically several table elements.
- <table class
- <table class="bordercolor" width="100%" cellspacing="1" cellpadding="4"border="0" >
- <tbody >
- <tr >
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment