Block Elemetns
Block Elements
Block elements are those elements that start from a new line. Browsers automatically add some padding and margins to it. In other words, they are in the form of blocks and they occupy the full width which is available to them.
Examples:-
- p Tag
- h2 - h6 tag
- div tag
- form tag
- ol tag
- ul tag
- pre tag
- table tag
- main tag
- header tag
- footer tag
Code Explanation
All Tutorials related to HTML Basics
Headings
Horizontal Lines
Comments
The p Tag
Line Break
Multiple Line Breaks
Text Format
Elements
Attributes
Multiple Attributes
The img Tag
Ordered List
Unordered List
Tables
Table Properties
The a Tag
Block Elements
Inline Elements
HTML Forms
HTML Colors