Title Text Goes Here


The above HTML code would produce the following results in



Download 2.8 Mb.
View original pdf
Page22/37
Date16.06.2022
Size2.8 Mb.
#59010
1   ...   18   19   20   21   22   23   24   25   ...   37
com-225-web-technology-theory

The above HTML code would produce the following results in
a web browser:


1 point arial type text

2 point arial type text

3 point arial type text

4 point arial type text

5 point arial type text

6 point arial type text

7 point arial type
text




The HTML Tag
With HTML code like this, you can specify both the size and the type of the browser output : This is a paragraph.

TYPE THE DOCUMENT TITLE
41 This is another paragraph.

Font Attributes
Attribute
Example
Purpose
size="number" size" Defines the font size size="+number" size" Increases the font size size="-number" size" Decreases the font size face="face-name" face="Times" Defines the font-name color="color-value" color="#eeff00" Defines the font color color="color-name" color="red" Defines the font color
NOTE: The tag has been described by many web developers to be the most "evil" of all HTML tags. This is mainly due to the fact that CSS has emerged as abetter way to format and define content. Using the tag religiously will definitely be a concern for the future and should be avoided at all costs. Instead of using the expected to become obsolete tag, a web developer can make use of CSS or simply the style attribute of the
or
tag. For example, consider
Here is some text in Arial type.
The above HTML code would produce the following results in a web browser Here is some text in Arial type. It is also possible and very common to combine physical type styles with block level tags or physical type styles with non-block level tags. Care must betaken to ensure that all HTML syntax rules are followed.

Download 2.8 Mb.

Share with your friends:
1   ...   18   19   20   21   22   23   24   25   ...   37




The database is protected by copyright ©ininet.org 2024
send message

    Main page