Download PHP -Notes-Presentation and more Lecture notes Web Design and Development in PDF only on Docsity! HTML TAGS • <b> Defines bold text • <big> Defines big text • <i> Defines italic text • <small> Defines small text • <sup> Defines superscripted text • <sub> Defines subscripted text • <em> Defines emphasized text • <strong> Defines strong text UNORDERED HTML LIST - CHOOSE LIST ITEM MARKER Value Description disc Sets the list item marker to a bullet (default) circle Sets the list item marker to a circle square Sets the list item marker to a square none The list items will not be marked * Example - square
<ul style="list-style-type:square">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
ORDERED HTML LIST - THE TYPE ATTRIBUTE Type Description type="1" The list items will be numbered with numbers (default) type="A" The list items will be numbered with uppercase letters type="a" The list items will be numbered with lowercase letters type="I" The list items will be numbered with uppercase roman numbers type="i" The list items will be numbered with lowercase roman numbers Tables and the Border Attribute <table border="1"> <tr> <td>Row 1, cell 1</td> <td>Row 1, cell 2</td> </tr> </table> Headings in a Table <table border=“5"> <tr> <th>Heading</th> <th>Another Heading</th> </tr> <tr> <td>row 1, cell 1</td> <td>row 1, cell 2</td> </tr> To display a table with borders, use the border attribute. Headings in a table are defined with the <th> tag. Cell Padding and Spacing The <table> tag has two attributes known as cellspacing and cellpadding. Cellspacing is the pixel width between the individual data cells in the table (The thickness of the lines making the table grid). <table border="1“ cellspacing="5“ > Cellpadding is the pixel space between the cell contents and the cell border. <table border="1" cellpadding="10"> <caption> Defines a table caption