Welcome Guest! (App Version 3.1)

websitnero logo name

Types of Elements

Overview

  • There are 2 types of elements - Block & Inline.
  • Example of Block Elements - p, div, h1, h6, article, section, etc.
  • Examples of Inline Elements - a, span, b, i, u, tt, button, input, etc.

Types of Elements in HTML

There are 2 types of elements in HTML:

  • Block
  • Inline

Block Elements have the property of taking full horizontal space. Example - div, p, h1, h6, article, section, etc.

Inline Elements have the property of taking least horizontal space required. Example - a, span, b, i, tt, button, input, textarea, etc.

WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.