Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 47 - 2615_KEC
P. 47

    Height: To set the height of an image.

                       Width: To set the width of an image.
                     An HTML code to set properties of an image using CSS:

                     <!DOCTYPE HTML>
                     <HTML>

                     <HEAD>
                     <TITLE> Images - CSS </TITLE>
                     </HEAD>
                     <BODY>
                     <H1 STYLE = "text-align:center">Valley of Flowers </H1>
                     <IMG STYLE = "Border:10px Solid Black; Height:200px; Width:250px;"
                     SRC = "D:\Valley_of_Flower.jpg" >

                     <P> Valley of Flowers National Park is an Indian national park, located
                     in North Chamoli and Pithoragarh, in the state of Uttarakhand and is
                     known for its meadows of endemic alpine flowers and the variety of flora.
                     </P>
                     </BODY>
                     </HTML>

                               HYPERLINK IN HTML

                     A website is a collection of web pages that are interlinked with each other and contain related
                     information. These web pages are linked with the help of a feature of HTML called a hyperlink.
                     A hyperlink is generally an underlined text that, when clicked will take you to another web page.

                     Generally, hyperlinks are seen in blue colour. HTML allows us to create two types of linking which are:
                       Interlinking (Local): The process of linking a particular section of the same web page is called

                       interlinking. In this case, the hyperlink and the linked section appear on the same web page.
                       Hence, interlinking is also known as internal linking.

                                                                                       Images, Links and Forms in HTML5  45

| 42 43 44 45 46 47 48 49 50 51 52 |