Recents in Beach

Grouping Tag In Html

 Grouping Tag In Html

The <div> tag is used to group other HTML content together. The  element doesn't add or change the content of your HTML. Instead, its main purpose is to provide an easy way to target and each group. The <div> and <span> elements allow you to group together several elements to create sections or subsections of a page.

Example:

<!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>Document</title>

</head>

<body>

  <div>

    <p >Welcome To Launchpadlwd blog</p>

  </div>

</body>

</html>


Post a Comment

0 Comments