DEV Community

Arul .A
Arul .A

Posted on • Edited on

What is block? What are the block elements?

⦁ Taking the full width of the page. And starts a new line, you can set width, height, margin, padding.
EX:
[Hello]
[world]

 <div>, <p>,<h1>to<h6>,section,<article>,<header>,<footer>,<UL>,<OL>,<Li>,<form>, <nav>, <aside>,<table>,<hr>,<script>
Enter fullscreen mode Exit fullscreen mode

.

Top comments (0)