Fonts
| The initial rules of HTML provided for special tags called Heading tags. These are simple tags that make normal text larger or smaller and bold. |
| HTML Code | Browser Display |
| <h1>Document Title</h1> |
Document Title |
| <h2>Document Title</h2> | Document Title |
| <h3>Document Title</h3> | Document Title |
| <h4>Document Title</h4> | Document Title |
| <h5>Document Title</h5> | Document Title |
| <h6>Document Title</h6> | Document Title |
Unless you are using Cascading Style Sheets, you should not use Heading tags. You will gain much more control over the size and font face of the text on your page if you use straight font tags. The font tag includes font face(s) and size. To ensure compatibility on multiple platforms (Microsoft and Apple use different names for fonts that look the same), more than one font can be specified. The browser will show the font it finds that matches one of the names. <font size="3" face="Times New Roman, Times, serif">Document Title</font> Notice the font tags are another one of the "start here/end here" tags. |
| HTML Code | Browser Display |
| <font
size="3" face="Times New Roman, Times, serif"> |
Representing
the work, writings or ideas of another as a person’s own for academic
credit constitutes academic dishonesty, merits a grade of “F”
in the course and will subject the student to consideration of dismissal. |
| <font size="2"
face="Verdana, Arial, Helvetica, sans-serif"> Representing the work, writings or ideas of another as a person’s own for academic credit constitutes academic dishonesty, merits a grade of “F” in the course and will subject the student to consideration of dismissal. </font> |
Representing the work, writings or ideas of another as a person’s own for academic credit constitutes academic dishonesty, merits a grade of “F” in the course and will subject the student to consideration of dismissal. |
| As you can see, all the pages in this lesson have been using the font tag with "Verdana, Arial, Helvetica, sans-serif" as the font face. These fonts all look very similar. Your browser will show the one that is installed on your operating system. If it can't find one of the first three names, the "sans-serif" is a generic term that tells the browser to use any non-serif font that is installed on the computer. |
| Jump To Top | Images |
|