home *** CD-ROM | disk | FTP | other *** search
/ Internet CD 2005 March / Internet_CD_032005.iso / Programista / w3IDE / w3IDESetup.exe / File299 < prev    next >
Encoding:
Text File  |  2003-11-25  |  4.6 KB  |  117 lines

  1. <html> 
  2. <body link="#009800" alink="#009800" vlink="#009800">
  3.  
  4. <a name="#br"></a>
  5. <h2>The <br /> tag:</h2>
  6. The <br /> tag is used when you want to end a line, but don't want to start a new paragraph. The <br /> tag forces a single line break wherever you place it.
  7. <br><hr width="80%">
  8.  
  9. <a name="#hr"></a>
  10. <h2>The <hr /> tag:</h2>
  11. The <hr /> tag inserts a horizontal rule. A line across your webpage. There are several optional attributes which may be used with this tag.
  12. <br><br>
  13. align - Specifies the alignment of the horizontal rule. Left, centered or right justified.
  14. <br><br>
  15. noshade - When set to true the rule should render in a solid color, when set to false the rule should render in a two-color "groove". 
  16. <br><br>
  17. size - Specifies the thickness (height) of the horizontal rule.
  18. <br><br>
  19. width - Specifies the width of the horizontal rule.
  20. <br><br>
  21. <b>example:</b><br>
  22. <hr align="center" width="50%" />
  23. <br>
  24. This example tag would create a horizontal rule, half the width of your webpage and centered.
  25.  
  26. <br><hr width="80%">
  27. <a name="#center"></a>
  28. <h2>The <center> tag:</h2>
  29. Centers all text and objects contained within the <center> and </center> tags.
  30.  
  31. <br><hr width="80%">
  32. <a name="#font"></a>
  33. <h2>The <font> tag:</h2>
  34. The <font> tag specifies the font face, size and color of text placed between the <font> and </font> tags. There are several attributes which may be used with this tag.
  35. <br><br>
  36. face - Defines the font type, such as ariel.
  37. <br><br>
  38. size - A number from 1 to 7. Defines the size of the font.
  39. <br><br>
  40. color - Defines the color of the font.
  41.  
  42. <br><hr width="80%">
  43. <a name="#image"></a>
  44. <h2>The <img /> tag:</h2>
  45. The <img /> tag defines an image. There is one required attribute, src="" which defines the location of your image. There are also several optional attributes which may be used.
  46. <br><br>
  47. alt - Defines a short description of the image.
  48. <br><br>
  49. align - Specifies how to align the image.
  50. <br><br>
  51. height - Defines the height of an image in pixels.
  52. <br><br>
  53. width - Defines the width of an image in pixels.
  54. <br><br>
  55. border - Defines a border around an image. 
  56.  
  57. <br><hr width="80%">
  58. <a name="#table"></a>
  59. <h2>The <table> tag:</h2>
  60. The <table> tag defines a table. Inside a <table> tag you can put table headers, table rows, table cells, and other tables.
  61. <br><br>
  62. Tables are a very complex HTML element. Whole books have been written on their use and attributes. For more in-depth information than can be provided here, a very well prepared reference on tables can be found at: <a href="http://www.w3schools.com/tags/tag_table.asp" target="_newz">http://www.w3schools.com/tags/tag_table.asp</a>
  63.  
  64. <br><hr width="80%">
  65. <a name="#link"></a>
  66. <a name="#email"></a>
  67. <h2>The <a> tag:<br>
  68. Hyperlinks and Email</h2>
  69. The <a> (anchor) tag defines an anchor element. An anchor can be used in two ways: 
  70. <br>1. To create a link to another document by using the href attribute<br><a href="http://www.SomeWebsite.com">
  71. <br>2. To create a bookmark inside a document, by using the name or id attribute<br><a name="SomeName">
  72. <br>3. To create an email link, by using the href attribute<br><a href="mailto:SomeEmailAddress">
  73.  
  74. <br><hr width="80%">
  75. <a name="#h"></a>
  76. <h2>The <h#> tag:</h2>
  77. The <h1> to <h6> tags define headers. <h1> defines the largest header and <h6> defines the smallest.
  78.  
  79. <br><hr width="80%">
  80. <a name="#bold"></a>
  81. <h2>The <b> tag:</h2>
  82. The <b> and </b> tag defines bold text. 
  83.  
  84. <br><hr width="80%">
  85. <a name="#pre"></a>
  86. <h2>The <pre> tag:</h2>
  87. The pre element defines preformatted text. The text enclosed between the <pre> and </pre> element preserves spaces and line breaks.
  88.  
  89. <br><hr width="80%">
  90. <a name="#i"></a>
  91. <h2>The <i> tag:</h2>
  92. The <i> tag defines Italic text.
  93.  
  94. <br><hr width="80%">
  95. <a name="#p"></a>
  96. <h2>The <p> tag:</h2>
  97. The <p> tag defines a paragraph.
  98.  
  99. <br><hr width="80%">
  100. <a name="#quote"></a>
  101. <h2>Quotes<br>The <blockquote> tag:</h2>
  102. The <blockquote> tag defines a quotation.
  103.  
  104. <br><hr width="80%">
  105. <a name="#list"></a>
  106. <h2>Lists<br>The <ol> tag:</h2>
  107. The ordered list tag defines an ordered (numbered) list.
  108.  
  109. <br><hr width="80%">
  110. <a name="#ul"></a>
  111. <h2>The <ul> tag:</h2>
  112. The unordered list tag defines an unordered list. It has the same attributes as an ordered list, but the items will be bulleted instead of numbered.
  113.  
  114. <br><br>
  115.  
  116. </body>
  117. </html>