Page 121 - Plus_V2.2_C7_Flipbook
P. 121

SOME MORE EXAMPLES

                 Let us take some more examples of web pages using all the tags.

                 Example 1:


                   <!DOCTYPE html>
                   <HTML>
                   <HEAD> <TITLE> My Web Page</TITLE> </HEAD>
                   <body bgcolor=yellow text=red>
                   <H1>Welcome to our hobby Website</H1>
                   <H2>In this website, We will introduce you to some interesting hobby
                   ideas.</H2>
                   <hr color=green noshade>
                   <P>Definition: A hobby is considered to be a regular activity that is
                   done for enjoyment, typically during one's leisure time.</P>
                   <hr color=red noshade>
                   <ul type=square>
                     <LI>Reading Can Calm Your Mind.
                      <LI>Meditation Can Lower Stress Levels.
                   </UL>
                   <hr color=yellow>
                   <H2>Now, let's see a video to pursue the hobby of cartooning</H2>
                   <video controls width=320 height=240>
                    <source src=hobby.mp4 type=video/mp4>
                   Your browser does not support the video element
                   </video>
                   </BODY>
                   </HTML>

                 Output:























                                             HTML Code output based on the above code



                                                                                                  More on HTML5   119
   116   117   118   119   120   121   122   123   124   125   126