Loading Please Wait...
Based on the display property, every HTML element has its own display value that is either Block or Inline.
A block level element always span the full width space available from left to right.
These elements start from new line and browser adds some space (margin) before and after the element.
Common block level elements are <h1> to <h6>, <p>, <div>
This is paragraph
<!DOCTYPE html>
<html>
<body>
<p>This is paragraph</p>
<div>This is div/section</div>
</body>
</html>
An inline level element takes as much width as necessary/required.
These elements start just after (same line - on left) the previous element.
Common block level elements are <span>, <a>
This is span element inside paragraph
<!DOCTYPE html>
<html>
<body>
<span>Span element</span>
<a href="https://lynxsia.com/">Link element</a>
</body>
</html>
How you feel about this blog:
Share this blog on:
If you find any error in the turtorials, or want to share your suggestion/feedback, feel free to send us email at: info@lynxsia.com
Contact UsWe are concern with various development process like website design & development, E-commerce development, Software development, Application development, SMS & Bulk SMS Provider, PWA Development, and many more..
Copyright ©
, Lynxsia IT Solutions, All rights reserved