<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Inline and Block elements</title>
</head>
<body>
    <p>This is a paragraph</p>

<p>This is also a paragraph</p>
<p>This is a paragraph</p> <p>This is also a paragraph</p>
<span>This is a paragraph</span> <span>This is also a paragraph</span>

<!--Css demo propties inline and block elements -->

<!-- Select and press ctrl + formard / to comment your html document -->
<p style= “border: 2px solid, red;”>This is a paragraph</p> <p style= “border: 2ox solid blue;”>This is also a paragraph</p>

<span style= “border: 2px solid red;”>This is a span</span> <span style = “border: 2px solid red;”>This is also a span</span>

    <strong style="border: 2px solid red;">this is a paragraph</strong> <a style="border: 2px solid blue;">
        this is also a paragraph</a>
    <span style="border: 2px solid red;">this is a span</span> <span style="border: 2px solid red;">this is also a span</span>

    li, em, div, img
</body>
</html>

Leave a Reply

Your email address will not be published.