Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 99 - 2626_South Point_C-7
P. 99

    simple HTML webpage.

                       <!DOCTYPE html>

                       <HEAD>
                           <STYLE>
                               body {font-family: 'Times New Roman', Serif;

                               margin: 20px;}
                              h1 {color: #8057;}

                               p {
                                   font-family: 'Times New Roman', Serif;
                                   font-style: italic;

                                   font-size: 20px;
                                   font-weight: bold;

                               }
                           </STYLE>
                           <TITLE>Font Properties Example</TITLE>

                       </HEAD>
                       <BODY>

                           <H1>Font Properties Example</H1>
                           <P>
                               This is text with specified font properties:

                               Font Family: Times New Roman, Serif,
                               Font Style: Italic,

                               Font Size: 20px,
                               Font Weight: Bold.
                          </P>

                       </BODY>
                       </HTML>

                     Output:

                                                           Font Properties Example

                                                                                                 Using CSS in HTML5    97

| 94 95 96 97 98 99 100 101 102 103 104 |