Sunday, November 28, 2021

how we insert inline and block element in HTML

<!DOCTYPE html>
<html>
<head>
<title>inline and block element</title>
</head>
<body>
 <strong style="border: 2px sloid red;">this is a paragraph</strong>
 <a style="border: 2px solid blue;">this a another paragraph</a>
 <span style="border: 2px solid green;">this a also paragraph</span>

</body>
</html>

output:


No comments:

Post a Comment