HTML div Tag

PHOTO EMBED

Tue Feb 08 2022 09:17:49 GMT+0000 (Coordinated Universal Time)

Saved by @Arjun007 #html #css #javasc #java #php #sass

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Example of HTML div tag</title>
    <style type="text/css">
        .welcome-box{
            background:lightblue;
            border:1px solid black;
        }
    </style>
</head>
<body>
    <div class="welcome-box">
        <h1>Welcome</h1>
        <p>Hi, welcome to our website.</p>
    </div>
    <p><strong>Note:</strong> To learn more about style rules please study tutorials on <a href="">CSS</a>.</p>
</body>
</html> 
content_copyCOPY

https://elementtutorials.com/ref/div.html