Results 1 to 3 of 3

Thread: Nested HTML Elements

  1. #1
    Join Date
    Jan 2018
    Location
    India
    Posts
    33

    Default Nested HTML Elements

    What are the Nested HTML Elements?

  2. #2
    Join Date
    Apr 2020
    Location
    Hyderabad
    Posts
    10

    Default Nested HTML Elements

    HTML elements can be nested (this means that elements can contain other elements).
    All HTML documents consist of nested HTML elements.
    The following example contains four HTML elements (<html>,*****<body>,*****<h1>*****and*****<p>):

  3. #3
    Join Date
    Apr 2020
    Posts
    704

    Default

    HTML elements may contain other elements. This is called nesting, and to do it properly, the entire element (including its markup) must be within the start and end tags of the containing element (the parent). Proper nesting is one of the criteria of a well-formed document (a requirement for XHTML).

Similar Threads

  1. What is difference between HTML elements and tags ?
    By sinelogixtech in forum Web Design Solutions
    Replies: 6
    Last Post: 11-16-2022, 10:29 AM
  2. Replies: 1
    Last Post: 08-24-2019, 05:32 AM
  3. Replies: 3
    Last Post: 08-31-2018, 04:23 AM
  4. What is HTML?
    By riprook7 in forum Web Design Solutions
    Replies: 30
    Last Post: 04-18-2016, 12:08 PM
  5. What is HTML?
    By stuartspindlow in forum Web Design Solutions
    Replies: 19
    Last Post: 11-19-2015, 11:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •