HTML Elements

Dakotah Desaigoudar

Return to CIS195 Home/Portfolio
<meta>
Provides metadata (charset, viewport, description, etc.)
<link>
Links external resources (like CSS files)
<style>
Adds internal CSS styling
<script>
Embeds or links JavaScript
<base>
Sets a base URL for all relative links
<strong>
Indicates important text (usually bold)
<em>
Emphasized text (usually italic)
<b>
Bold text (visual only, not semantic)
<i>
Italic text (visual only)
<u>
Underlined text
<mark>
Highlights text
<small>
Smaller text (fine print, disclaimers)
<sub>
Subscript (e.g., H₂O)
<sup>
Superscript (e.g., x²)
<del>
Deleted/strikethrough text
<ins>
Inserted/underlined text
<blockquote>
Block of quoted text
<q>
Inline quotation
<cite>
Citation or reference to a source
<code>
Displays code snippets inline
<pre>
Preformatted text (preserves spacing/line breaks)
<figure>
Wraps media (image, diagram, etc.)
<figcaption>
Caption for a figure
<iframe>
Embeds another webpage
<source>
Specifies media sources for audio/video
<track>
Adds subtitles/captions to media
<embed>
Embeds external content (like PDFs)
<object>
Embeds multimedia or external resources
<details>
Creates expandable/collapsible content
<summary>
Visible heading for details