Sunday 7 March 2021

HTML TUT-5 How To Identify The Inline And Block Elements In Html(With the help of CSS)

 How To Identify The Inline And Block Elements In Html(With the help of CSS)

Block And Inline Elements

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Inline and Block</title>
</head>
<body>
    <li type="circle" style="border: 2px solid red;">This is a paragraph</li>
    <li  type="square" style="border: 2px solid black;">this is a second paragraph</li>
    <em style="border: 2px solid orange;">This is a Emphasis</em>
    <div style="border: 2px solid blue;">This is a Block Element </div>
    <img style="border: 2px solid black;" src ="" alt="This is a block Element">
</body>
</html>


No comments:

Python if / else

 Python if / else a1 = int ( input (" Enter the number: \n ")) a2 = int ( input (" Enter the number: \n ")) a3 = int ( i...