Page 51 - ClickGPT V4.0 C-5
P. 51

<title>HTML Tags Example</title>

                 </head>
                 <body>

                     <strong>Text Formatting Tags</strong><br>
                     This is a <b>bold</b> word.<br>
                     This is an <i>italic</i> word.<br>

                     This is an <u>underlined</u> word.<br>
                     This is a <strong>very important</strong> message.<br>

                     This is an <em>emphasised</em> word in a sentence.<br>
                 </body>
                 </html>































                 INTRODUCING CSS3


                 CSS stands for Cascading Style Sheets. It is used for designing or styling a web page. It handles and

                 describes how an HTML web page will be presented on a web browser. It helps save a lot of time, as one
                 design layout can be used to create multiple web pages. The latest version of CSS is CSS 3.

                 CSS comprises style rules that are interpreted by the web browser and then applied to the
                 corresponding elements in HTML web page. Syntax to create a style in CSS is:

                 selector{property1:value1; property2:value2; … …}

                 Where, selector refers to an HTML tag to which a style will be applied like <BODY>. The property1 is

                 a property of CSS that can be used to create a style and value1 is the valid value of the property. A
                 semicolon should be used at the end of the property-value if more than one property is used. However,
                 you can skip the semicolon if only one property is used.





                                                                                    Introduction to HTML5 & CSS3    49
   46   47   48   49   50   51   52   53   54   55   56