Attribute Tags for HTML

Attribute Tags for HTML

<p>Attribute Tags for HTML</p><p>Text formatting tags</p><p> Font tag: <font>….</font></p><p> Bold tag: <b>….</b></p><p> Italic tag: <i>…..</i></p><p> Indented tag:<blockquote>…..</blockquote> Sometime you want to indent a sentence or an entire paragraph. That’s when you’ll want to use the blockquote tag:</p><p> Small type: <small>….</small></p><p> Big type: <big>………</big></p><p> Center type; <center>……</center> Aligns text centered aligned </p><p>Attributes:</p><p> Font size: Controls the size of the type from 1 (smallest) to 7 (largest)</p><p> Color: Controls the color of text</p><p> Face: Controls the typestyle</p><p>Font Size 1 to 7</p><p><Font size=”5”………</font></p><p>Font Color</p><p>Font colors are listed in hexadecimal color code – a combination of six (6) letters and numbers. </p><p>On my Web site, In Computer Science Class, there is a link under class files and links to a “Color Picker” and codes. </p><p><font color=”#0033ff”>The font you want colored goes between the two tags</font></p><p>Font Face</p><p> Arial  Century Schoolbook </p><p> Arial Black  Courier new</p><p> Book Antiqua  Garamond</p><p> Bookman Old Style  Times new Roman</p><p> Century Gothic  Verdana</p><p>  <font face=”Garamond”>………..</font></p><p></p><p> Putting it all together</p><p> <p><font size=”5” face=”arialblack” color=”0033ff”>I am learning how to use the horizontal rule, headline, paragraph and line break tags. Writing HTML isn’t as hard as it appears</font></p></p><p> Other Tags: </p><p> Paragraph tag <p>…………>/p> defines the paragraph. The text between paragraph tags is automatically wrapped. A paragraph tag automatically adds a blank line at the end of a paragraph. </p><p> Does not have to be a long paragraph – can be one or two words </p><p> Horizontal Rule – Places a horizontal line across the width of a page</p><p> <hr> DOES NOT NEED TO BE TURNED OFF</p><p> Can modify to be a specific width, alignment, and thickness</p><p> Example:</p><p> <hr width=”50%” align=”left” size=”4”</p><p> This places a horizontal rule across ½ of the page, left aligned and 4 pixels</p><p> <hr width=”75% align=”center” size=”2”> </p><p> This places a horizontal rule across ¾ of the page, centered aligned, 2 pixels</p><p></p><p> Background Color:</p><p> The background color tag is put in the <body> tag</p><p> <body bgcolor=”#ffff00”> Does not need to be turned off</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us