HTML Elements

  • HTML Elements 
    • An HTML element start with an Opening Tag and ends with a Closing Tag.
      Ex: <p>----</P>
    • Between the Opening tag & ending tag called Element Content
    • Some HTML elements which are called Empty Elements closed in the start tag.
      Ex: <img src = "myImage.jpg"  />
    • Most HTML elements can have additional information than the element whic are called Attributes
      Ex: <p align = "Center"> This is the Paragraph</p>
      • The <p> element defines a paragraph in the HTML Document
      • The element has a opening tag <p> and its enfing tag </p>
      • The element Content is "This is the Paragraph"
      • No case sensitive because you can define <p>..... </P> or <P>... </p>
      • The attribute of this element is align it describe the alignment of the paragraph.

No comments:

Post a Comment