Page 78 - Computer - 7
P. 78

PARAGRAPH <p> Tag

          The Paragraph tag <p> is used to start new paragraphs in an HTML document. It is a container tag that
          starts with <p> tag and ends with the </p> tag.

            Lab Activity 2
                                                                                                   Experiential Learning
           To display text in paragraph using <p> tag.
            1.  Open Notepad and create the HTML document as shown below.
























            2.  Open the HTML document in Microsoft Edge.

















                   Knowledge Discovery                                                             Subject Enrichment

                If  the  closing  paragraph  tag  </p>  is  not  specified,  the  browser  will  begin  a  new  paragraph when  it
                encounters another paragraph <p> tag.




                   Try This
                                                                                                       Critical Thinking
             Identify and write the name of the tag used in HTML5 to perform the following tasks:
             (a) Inserts a blank line.                                               _______________

             (b) Displays information about the document.                            _______________
             (c) Encloses all the content to be displayed on the webpage.            _______________

             (d) Starts a new paragraph.                                             _______________



               76
   73   74   75   76   77   78   79   80   81   82   83