html list table anchor
TRANSCRIPT
-
8/10/2019 HTML List Table Anchor
1/2
/lds
LIST
TAG defines a list of items. Used to specify ordered and unordered lists.
SYNTAX:
List List List List
Attribute Values
For ordered lists ():
Value Description
1 Numerical ordered list (this is default) (1, 2, 3, 4)
a Alphabetically ordered list, lowercase (a, b, c, d)
A Alphabetically ordered list, uppercase (A, B, C, D)
i Roman numbers, lowercase (i, ii, iii, iv)
I Roman numbers, uppercase (I, II, III, IV)
For unordered lists ():
Value Description
disc Default. A filled circle
circle An unfilled circle
square A filled square
TABLE
The tag defines an HTML table.
A simple HTML table consists of the table element and one or moretr,th,andtd elements.
Theelement defines a table row, the element defines a table header, and the
element defines a table cell.
SYNTAX:
Header 1Header 2
Cell 1Cell 2
Cell 3Cell 4
Output:
Header 1 Header 2
Cell 1 Cell 2
Cell 3 Cell 4
http://www.w3schools.com/tags/tag_tr.asphttp://www.w3schools.com/tags/tag_th.asphttp://www.w3schools.com/tags/tag_td.asphttp://www.w3schools.com/tags/tag_td.asphttp://www.w3schools.com/tags/tag_th.asphttp://www.w3schools.com/tags/tag_tr.asp -
8/10/2019 HTML List Table Anchor
2/2
/lds
Optional Attributes
Attribute Value Description
align
leftcenterright
Use styles instead.Specifies the alignment of a table according tosurrounding text
bgcolor
rgb(x,x,x)#xxxxxxcolorname
Use styles instead.Specifies the background color for a table
border pixels Specifies the width of the borders around a table
width pixels%
Specifies the width of a table
ANCHOR
The tag defines an anchor. An anchor can be used in two ways:
1. To create a link to another document, by using the href attribute2.
To create a bookmark inside a document, by using the name attribute
The a element is usually referred to as a link or a hyperlink.
The most important attribute of the a element is the href attribute, which indicates the linksdestination.
By default, links will appear as follows in all browsers:
An unvisited link is underlined and blue
A visited link is underlined and purple An active link is underlined and red
Optional Attributes
Attribute Value Description
href URL Specifies the destination of a link
name section_name Specifies the name of an anchor
Sample: