Skip to main content

HTML Tag Types and How to Set Them

Learn about the different HTML tags you can apply to boxes in Studio.Design, along with step-by-step instructions for setting them up.

Main types of tags

HTML includes various types of tags for different elements, such as heading tags (e.g., <h1>) and paragraph tags (e.g., <p>). Setting tags correctly makes it easier for search engines and accessibility tools to understand your content.

Tips:

Tags for text boxes

By default, text boxes use the <p> tag. You can change this to any of the following tags:

  • <p>: Represents a paragraph.

  • <h1>–<h6>: Represents a heading. The lower the number, the larger the heading.

  • <li>: An item within a list.

  • <span>: Has no specific meaning and is used to group parts of text.

Tags for boxes and images

By default, boxes and image boxes use the <div> tag. You can change this to any of the following tags:

  • <div>: Has no specific meaning and is used for grouping.

  • <nav>: Represents a navigation area.

  • <header>: Used for logos and navigation groups.

  • <footer>: An area for information such as copyright and terms.

  • <section>: A section divided by a heading and its content.

  • <article>: A self-contained piece of content.

  • <main>: The main content area of a page. It can only be used once per page.

  • <ul>: A group of list items.

  • <li>: An individual item within a list.

  • <label>: Used to group form items.

  • <h1>–<h6>: When certain conditions are met, you can also apply heading tags <h1>–<h6> to a box. For details, see HTML heading tags <h1>–<h6>.

How to set a tag

In Studio.Design, regular boxes use <div> by default, and text boxes use <p> by default.

  1. Select the box you want to set a tag for.

  2. Open the [Settings] tab in the right panel.

  3. Choose your preferred tag from the [Tag] options.

    ※ If the heading tag <h1> doesn't appear in the tag options, please see the "Note" section of this article: HTML heading tags <h1>–<h6>

tag source code script

source code html htlm

Did this answer your question?