IEEE FrontEnd committee: First Lecture Part 2 : HTML Tags Documentation

Table of Contents

Text Formatting

TagInline/BlockDescriptionImportant Attributes
<p>BlockDefines a paragraph-
<strong>InlineMakes text bold-
<em>InlineEmphasizes text (italic)-
<mark>InlineHighlights text-
<sup>InlineSuperscript text-
<sub>InlineSubscript text-
<blockquote>BlockRepresents a block of quoted text-
<pre>BlockPreformatted text with preserved spaces and line breaks-
<abbr>InlineRepresents an abbreviationtitle (tooltip text)
<cite>InlineRepresents the title of a work-
<code>InlineRepresents inline code snippets-

Lists

TagInline/BlockDescriptionImportant Attributes
<ul>BlockUnordered list-
<ol>BlockOrdered listtype (1, a, A, i, I)
<li>BlockList item inside <ul> or <ol>-

Tables

TagInline/BlockDescriptionImportant Attributes
<table>BlockDefines a tableborder (for border display)
<tr>BlockDefines a row in a table-
<th>BlockDefines a header cell in a tablecolspan, rowspan
<td>BlockDefines a standard cell in a tablecolspan, rowspan

Forms

TagInline/BlockDescriptionImportant Attributes
<form>BlockDefines an HTML formaction, method
<input>InlineDefines an input fieldtype, name, placeholder
<textarea>BlockDefines a multi-line text inputrows, cols
<button>InlineDefines a clickable buttontype

Media

TagInline/BlockDescriptionImportant Attributes
<img>InlineEmbeds an imagesrc, alt, width, height
<audio>BlockEmbeds audio contentcontrols, src
<video>BlockEmbeds video contentcontrols, width, height
<canvas>BlockUsed for drawing graphics via JavaScriptwidth, height

Semantic Elements

TagInline/BlockDescriptionImportant Attributes
<article>BlockRepresents independent content-
<aside>BlockDefines content aside from the main content-
<figure>BlockGroups media elements-
<figcaption>InlineProvides a caption for <figure>-

Interactive Elements

TagInline/BlockDescriptionImportant Attributes
<details>BlockCreates an expandable section-
<summary>InlineProvides a summary for <details>-
<progress>InlineRepresents a progress barvalue, max
<meter>InlineRepresents a scalar measurement within a rangevalue, min, max

Not all the tags will be Shown in today meetings like the rest of Semantic Elements and input types