Html div tag

Course Content

13. HTML div tag | HTML Tutorial In Hindi/Urdu #13

Code divtag.html as described/written in the video



                                    
 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>div tag</title>
</head>
<body>
    <div style="background-color:black;color:green; font-size:larger;">
        <h2>Richest countries in the wolrd</h2>
        <p>United states is the <span style="color: blue;">richest</span> country in the wolrd</p>
        <p>Japan is the <span style="color: blue;">third</span> richest country in the world</p>
    </div> 
</body>
</html>

Comments(1)

aaqil 1 month, 3 weeks ago
thanks for giving this free course

Resources

No downloadable resources for this video. If you think you need anything, please post it in the QnA!

    Course Announcements

    Any Course related announcements will be posted here