Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 95 - 2633 Trackpad Pro V5.1 Class 7
P. 95

    Let us create a web page to set font style.

                      <!DOCTYPE HTML>

                     <HTML>
                     <HEAD>

                     <TITLE>CSS Font Style</TITLE>

                     </HEAD>

                     <BODY>
                     <P STYLE="FONT-STYLE:ITALIC; FONT-SIZE:40PX;">

                     THIS TEXT WILL BE DISPLAYED IN ITALIC STYLE AND FONT SIZE OF 40 PX.

                     </P>
                     </BODY>

                     </HTML>

                            Hashtag

                          #Image: An image is used for conveying information & catching the attention of the site-visitors
                          #Forms: Forms are used to collect information from the site-visitors

                          REVISIT

                       ▶   Hyperlink properties are usually specified in the header part of the HTML document.

                       ▶   We can use CSS to control the display of the image.
                       ▶   CSS properties allow us to display links as buttons.
                       ▶   We can also use the style attribute and use CSS height and width properties to control the frames.

                       ▶   We can display frames with or without borders by applying the CSS property – Border.
                       ▶   The margin property is used to set margins for any web page element.

                       ▶   CSS font property is used to define the font, size and the style of the text.

                                                                                             Styling Elements using CSS  93

| 90 91 92 93 94 95 96 97 98 99 100 |