-- Learning is not just technology, but also dreams!
HTML Reference Manual
- HTML Tag List (Alphabetical Order)
- HTML Tag List (Functional Order)
- HTML Global Attributes
- HTML Events
- HTML Canvas
- HTML Audio/Video
- HTML Valid DOCTYPES
- HTML Color Names
- HTML Color Picker
- HTML Color Mixer
- HTML Emoji
- HTML Character Sets
- HTML ASCII
- HTML ISO-8859-1
- HTML Symbols
- HTML URL Encoding
- HTML Language Codes
- HTML Country/Region Codes
- HTTP Messages
- HTTP Methods
- Px/Em Conversion Tool
- Keyboard Shortcuts
HTML Tags
- <!-->
- <!DOCTYPE>
- <a>
- <abbr>
- <acronym>
- <address>
- <applet>
- <area>
- <article>
- <aside>
- <audio>
- <b>
- <base>
- <basefont>
- <bdi>
- <bdo>
- <big>
- <blockquote>
- <body>
- <br>
- <button>
- <canvas>
- <caption>
- <center>
- <cite>
- <code>
- <col>
- <colgroup>
- <command>
- <datalist>
- <dd>
- <del>
- <details>
- <dfn>
- <dialog>
- <dir>
- <div>
- <dl>
- <dt>
- <em>
- <embed>
- <fieldset>
- <figcaption>
- <figure>
- <font>
- <footer>
- <form>
- <frame>
- <frameset>
- <head>
- <header>
- <hgroup>
- <h1> - <h6>
- <hr>
- <i>
- <iframe>
- <img>
- <input>
- <ins>
- <kbd>
- <keygen>
- <label>
- <legend>
- <li>
- <link>
- <main>
- <map>
- <mark>
- <menu>
- <meta>
- <meter>
- <nav>
- <noframes>
- <noscript>
- <object>
- <ol>
- <optgroup>
- <option>
- <output>
- <p>
- <param>
- <pre>
- <html>
- <picture>
- <progress>
- <q>
- <rp>
- <rt>
- <ruby>
- <s>
- <samp>
- <script>
- <section>
- <select>
- <small>
- <source>
- <span>
- <strike>
- <strong>
- <style>
- <sub>
- <summary>
- <sup>
- <table>
- <tbody>
- <td>
- <textarea>
- <template>
- <tfoot>
- <th>
- <thead>
- <time>
- <title>
- <tr>
- <track>
- <tt>
- <u>
- <ul>
- <var>
- <video>
- <wbr>
HTML <canvas> Tag
HTML <center> Tag
Dive Deeper
Web Browsers Programming Software Scripts Development Tools Web Service Computer Science Search Programming Languages Web Services
HTML <caption> align Attribute
HTML <caption> Tag
Example
Table with a <caption> element aligned to the bottom:
<table border="1">
<caption align="bottom">My savings</caption>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</table>
Try it Β»
Browser Support
All major browsers support the align attribute.
Note:
- Internet Explorer 8 supports "left", "right", "top", and "bottom" values.
- Internet Explorer 9+ supports "top", and "bottom" values.
- Firefox supports "left", "right", "top", and "bottom" values.
- Opera supports "left", "right", "top", and "bottom" values.
- Chrome supports "top", and "bottom" values.
- Safari supports "top", and "bottom" values.
Definition and Usage
HTML5 does not support the <caption> align attribute. Please use CSS instead.
The align attribute for <caption> was deprecated in HTML 4.01.
The align attribute specifies the alignment of the caption element.
This attribute aligns the caption as a block element to the left, right, top, or bottom of the table.
Compatibility Note
HTML5 does not support the <caption> align attribute. Please use CSS instead.
CSS syntax: <caption style="caption-side:bottom"> or <caption style="text-align:left">
CSS Example: Positioning Table Caption
In our CSS tutorial, you can find more details about the caption-side property.
Syntax
<caption align="left|right|top|bottom">
Attribute Values
| Value | Description |
|---|---|
| left | The caption is positioned to the left of the table. |
| right | The caption is positioned to the right of the table. |
| top | The caption is positioned above the table. |
| bottom | The caption is positioned below the table. |
HTML <caption> Tag
HTML <canvas> Tag
HTML <center> Tag
Byte Ark Coding Plan
Supports mainstream large models like Doubao, GLM, DeepSeek, Kimi, MiniMax, officially supplied, stable and reliable.
Β₯9.9/month
Sign up now
Xunfei Starry Sky Coding Plan
Includes free model call quota, DeepSeek, GLM, Kimi, MiniMax, one-stop experience and deployment platform.
Β₯3.9/month
Sign up now
Click me to share notes
Category Navigation
- Python / Data Science
- AI / Intelligent Development
- Frontend Development
- Backend Development
- Databases
- Mobile Development
- DevOps / Engineering
- Programming Languages
- Computer Fundamentals
- XML / Web Service
- .NET
- Website Construction
HTML Tag List (Alphabetical Order)
HTML Tag List (Alphabetical Order)
HTML Tag List (Functional Order)
HTML Global Attributes
HTML Events
HTML Canvas
HTML Audio/Video
HTML Valid DOCTYPES
HTML Color Names
HTML Color Picker
HTML Color Mixer
HTML Emoji
HTML Character Sets
HTML ASCII
HTML ISO-8859-1
HTML Symbols
HTML URL Encoding
HTML Language Codes
HTML Country/Region Codes
HTTP Messages
HTTP Methods
Px/Em Conversion Tool
Keyboard Shortcuts
HTML Tags
Online Examples
- HTML Examples
- CSS Examples
- JavaScript Examples
- Ajax Examples
- jQuery Examples
- XML Examples
- Java Examples
Character Sets & Tools
- HTML Character Set Settings
- HTML ASCII Character Set
- JS Obfuscation/Encryption
- PNG/JPEG Image Compression
- HTML Color Picker
- JSON Formatter Tool
- Random Number Generator
Latest Updates
- docker compose ...
- GraphRAG Getting Started Tutorial
- Dart Enums and Symbols
- Dart Unit Testing
- Dart Concurrency and Iso...
- Dart Stream Flow
- Dart Asynchronous Programming
Site Information
- Feedback
- Disclaimer
- About Us
- Article Archive
Follow us on WeChat
My Favorites
- Mark Article
- Browsing History
- Clear All
No records yet
YouTip