Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Aug 2018
    Posts
    1,141

  2. #2
    Senior Member
    Join Date
    Aug 2020
    Posts
    1,517
    Nesting is a shortcut to creating CSS rules. So instead of writing so many lines of CSS just to be specific on the style we want to apply to an element, we simply nest it.

  3. #3
    Registered User
    Join Date
    Nov 2019
    Posts
    2,528
    SCSS allows us to nest CSS selectors in a similar manner. ... Nesting is a shortcut to creating CSS rules. So instead of writing so many lines of CSS just to be specific on the style we want to apply to an element, we simply nest it.

  4. #4
    Senior Member
    Join Date
    Aug 2020
    Posts
    1,204
    HTML tags should be “nested” in a proper order, meaning that the tag opened most recently is always the next tag to close. In the following example, the HTML code is nested correctly, and we've drawn lines to connect opening and closing tags: The following HTML code sample contains two nesting errors.

  5. #5
    Senior Member
    Join Date
    Aug 2020
    Posts
    1,200
    A good example of nesting is the relationship between the DL (definition list) tag, the DT (definition term) tag, and the DD (definition description) tag. The DL tag specifies a definition list and the DT and DD tags specify the terms and descriptions of the items within the definition list.

  6. #6
    Senior Member dennis123's Avatar
    Join Date
    Apr 2013
    Location
    Bangalore
    Posts
    3,627
    Nesting is a shortcut to creating CSS rules. So instead of writing so many lines of CSS just to be specific on the style we want to apply to an element, we simply nest it.

  7. #7
    Nesting is a shortcut to create CSS rules. Therefore, we don't have to nest too much CSS code to specifically target the style to be applied to the element, but just nest it.

  8. #8
    Senior Member
    Join Date
    Nov 2018
    Posts
    1,853
    SCSS allows us to nest CSS selectors in a similar manner. ... Nesting is a shortcut to creating CSS rules. So instead of writing so many lines of CSS just to be specific on the style we want to apply to an element, we simply nest it.

Posting Permissions

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

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.