A to Z HTML elements with their possible attributes

 A:

  • <a>: href, target, download, rel
  • <abbr>: title
  • <address>:
  • <area>: alt, coords, shape, href, target

B:

  • <b>:
  • <base>: href, target
  • <bdi>:
  • <bdo>: dir

C:

  • <blockquote>: cite
  • <body>:
  • <br>:
  • <button>: type, name, value

D:

  • <data>: value
  • <datalist>:
  • <dd>:
  • <del>: cite, datetime
  • <details>: open
  • <dfn>:
  • <dialog>: open

E:

  • <em>:
  • <embed>: src, type, width, height

F:

  • <fieldset>:
  • <figcaption>:
  • <figure>:
  • <footer>:
  • <form>: action, method, enctype

H:

  • <h1> to <h6>:
  • <head>:
  • <header>:
  • <hr>:

I:

  • <i>:
  • <iframe>: src, width, height, frameborder, allowfullscreen
  • <img>: src, alt, width, height

K:

  • <kbd>:

L:

  • <label>: for
  • <legend>:

M:

  • <main>:
  • <map>: name
  • <mark>:

N:

  • <nav>:

O:

  • <object>: data, type, width, height
  • <ol>:
  • <optgroup>: label
  • <option>: value, selected
  • <output>: for, form, name

P:

  • <p>:
  • <param>: name, value
  • <picture>:
  • <pre>:

P:

  • <progress>: value, max

Q:

  • <q>: cite

R:

  • <rp>:
  • <rt>:
  • <ruby>:

S:

  • <s>:
  • <samp>:
  • <script>: src, async, defer, type
  • <section>:
  • <select>: name, multiple, size
  • <small>:
  • <source>: src, type
  • <span>:
  • <strong>:
  • <style>: type
  • <sub>:
  • <summary>:
  • <sup>:

T:

  • <table>:
  • <tbody>:
  • <td>:
  • <template>:
  • <textarea>: name, rows, cols
  • <tfoot>:
  • <th>: scope, colspan, rowspan
  • <thead>:
  • <time>: datetime
  • <title>:
  • <tr>:
  • <track>: src, kind, srclang, label

U:

  • <u>:
  • <ul>:

V:

  • <var>:
  • <video>: src, width, height, controls

W:

  • <wbr>:

Comments

Popular posts