Language
日本語
English

Caution

JavaScript is disabled in your browser.
This site uses JavaScript for features such as search.
For the best experience, please enable JavaScript before browsing this site.

  1. Home
  2. HTML Tag Dictionary

HTML Tag Dictionary Index

[Setup] HTML Development EnvironmentSteps for setting up an environment to write and display HTML.
<!DOCTYPE> / <html>Document type declaration and the root HTML element.
<head>Container for document metadata.
<meta>Configuring metadata.
<link>Linking external resources.
<body>Container for the document body.
id / classIdentifying and grouping elements.
style / title / langInline styles, tooltips, and language settings.
data-* / hidden / tabindexCustom data attributes, visibility, and focus order.
<h1> to <h6>Heading tags.
<p>Paragraphs.
<div>General-purpose block container.
<pre> / <blockquote> / <hr>Preformatted text, quotations, and horizontal rules.
<ul> / <ol> / <li>Unordered and ordered lists.
<span>General-purpose inline container.
<strong> / <em>Important and emphasized text.
<code> / <kbd> / <var>Displaying code, keyboard input, and variables.
<br> / <wbr> / <ruby>Line breaks and ruby annotations.
<small> / <s> / <u> / <mark> / <del> / <ins>Text decoration elements.
<a>Hyperlinks.
<nav>Navigation block.
<dl> / <dt> / <dd>Definition lists (terms and descriptions).
<header> / <footer>Page and section headers and footers.
<main> / <article>Main content and standalone articles.
<section> / <aside>Sections and supplementary information.
<details> / <summary>Collapsible content.
<table> / <tr> / <td> / <th>Basic table structure.
<thead> / <tbody> / <tfoot> / <caption>Table grouping and captions.
colspan / rowspanMerging table cells.
<form>Container for forms.
<input> — TextText input fields.
<input> — SelectionCheckboxes and radio buttons.
<input> — Button & OthersButtons, file inputs, and hidden fields.
<textarea> / <select> / <option>Multi-line input and dropdowns.
<label> / <fieldset> / <legend>Labels, grouping, and legends.
<button>Button elements.
name / value / placeholder / requiredKey attributes for form inputs.
<input> — HTML5 Validation AttributesInput restrictions and validation.
<input type="date"> TypesDate and time inputs.
<input type="number"> / type="range"> / <datalist>Number inputs, sliders, and suggestion lists.
<img>Embedding images.
<picture> / <source>Responsive images and media switching.
<figure> / <figcaption>Figures and captions.
<video>Embedding video.
<audio>Embedding audio.
<iframe>Inline frames for embedding external content.
<script>Embedding and loading JavaScript.
<canvas> / <svg>Canvas drawing and SVG images.
<style>Embedding CSS.
<noscript>Fallback content for when scripts are disabled.
role AttributeExplicitly defining the role of an element.
aria-label / aria-labelledby / aria-describedbyAssociating names and descriptions with elements.
aria-hidden / aria-expanded / aria-liveVisibility state and notifications of dynamic updates.
<meta name="description"> / OGPMetadata for search engines and social media.
<link rel="canonical"> / hreflangCanonical URLs and multi-language support.
<link rel="icon"> / <link rel="preload">Favicons and resource preloading.
<dialog>Dialog boxes.
<template> / <slot>Templates and Web Components slots.