10.33 Tag Type

Description: This attribute is used to specify the type of tag.

Components to accept the input: Select box



This select box has five options:
  1. Div: It is a block-level element. A block-level element always starts on a new line and takes up the full width available.
  2. Span: It is an inline element. An inline element does not start on a new line and only takes up as much width as necessary.
  3. Label: It is a label tag of HTML. This element is used to associate a text label with a form input field
  4. H3: It is h3 tag of HTML. It represents a level 3 heading in an HTML.

As per requirement, select the type.

Example: User wants do display “Please do not refresh or hit back” text. And user wants other text “Waiting” on the next line as shown in the image below.



Usage: Now in this example, our first text should occupy the whole line and second text should start on the next line. As Div is a block element, it satisfies the requirement. When user adds “Waiting” text and selects Div type as shown in the image below. “Waiting” text will start on a new line.