Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 103 - 2611_SmartGPT Pro V(5.0) C-6
P. 103

    Code 8. Write the HTML code to present the given web page using CSS margin properties.

                     <!DOCTYPE HTML>

                     <HTML>
                     <HEAD>

                     <TITLE>Using Margin Properties

                     </TITLE>

                     </HEAD>

                     <BODY STYLE="BACKGROUND-COLOR: #F0F8EF; COLOR: DARKSLATEGRAY;">
                     <H2 STYLE="COLOR: MEDIUMBLUE; TEXT-ALIGN:CENTER;">The Human Digestive

                     System</H2>
                     <P STYLE="BORDER: 1PX SOLID GREEN; FONT-SIZE: 14PT; MARGIN-TOP: 25PX;

                     MARGIN-LEFT: 30PX;">
                     <B>What is the Digestive System?</B><BR>

                     The digestive system is a group of organs that work together to break

                     down food, absorb nutrients and remove waste from the body.
                     </P>

                     </BODY>

                     </HTML>

                                                                                                    21 st
                                                                                                  Century   #Social Interaction
                                                            Self Reflection                        Skills
                      Pranav has figured out how to create HTML documents and open them in a web browser. He shared a few of his
                                                            Self Reflection
                      pages with his friend Ajith, who recommended that he use CSS to improve the look of his web pages. Pranav is
                      not familiar with CSS. Should he admit this and ask his friend for help? Discuss your thoughts.

                            Hashtag

                          #Syntax: It refers to the set of rules that decide how you should write code properly.
                          # Hexadecimal: It is a number system using 16 symbols: 0-9 and A-F, often used in computers
                           for colours and data.
                          # Offset: It is a value that indicates the distance or position of something from a starting point.

                                                                                                   CSS3—Styling Basics  101

| 98 99 100 101 102 103 104 105 106 107 108 |