HTML In-Line Elements


HTML HTML In-Line Elements Var Tag

In-Line Element

Inline elements does not cause a line break and does not take up the full width of a page,it only cover the space bounded by its opening and closing tag.

<span> is inline element.

Example:-

<span style="background-color:yellow;">No </span><span style="background-color:aqua;">Line </span><span style="background-color:pink;">break.</span>

Output:---

No Line break.

List Of In-Line Elements

  • <a>
  • (Link or hyperlink) is a connection that allows you to move from one page to another.

  • <abbr>
  • This element is the optional title attribute that can provide description for the abbreviation.

  • <acronym>
  • This element allows authors to clearly indicate a sequence of characters that compose an acronym or abbreviation for a word.

  • <audio>
  • This element is used to embed sound content in documents.

  • <b>
  • This element is used to bring reader's attention toward the content.

  • <bdi>
  • This element is useful when a website dynamically inserts some text and doesn't know the directionality of the text being inserted.

  • <bdo>
  • This element defines Bidirectional text.

  • <big>
  • Text surrounding this tag is one level size higher than surrounding text.e.g small become medium.

  • <br>
  • This element produce line break.

  • <button>
  • This element represents a clickable button.

  • <cite>
  • This element defines the title of a work.

  • <code>
  • This element displays its contents styled in a fashion indicate that the text is a short fragment of computer code.

  • <data>
  • This element links a given content with a machine-readable translation.

  • <datalist>
  • This element contains a set of options that represent the values available for other controls.

  • <del>
  • This element represents a range of text that has been deleted from a document.

  • <dfn>
  • This element is used to indicate the term being defined within the context of a definition phrase or sentence.

  • <em>
  • This element is used to emphasize text.

  • <embed>
  • This element embeds external content at the specified point in the document.

  • <i>
  • This element is used to set text italic.

  • <iframe>
  • This element represents a nested browsing context, effectively embedding another HTML page into the current page.

  • <img>
  • This element embeds an image into the document.

  • <input>
  • This element specifies an input where the user can enter data.

  • <kbd>
  • This element defines keyboard input.

  • <label>
  • This element defines a label for an input element.

  • <map>
  • This element is image-map, with clickable areas.

  • <object>
  • This element defines an embedded object within an HTML document.

  • <output>
  • This element defines a container to show result or outcome of user action.

  • <progress>
  • This element displays an indicator showing the completion progress of the task.

  • <q>
  • This element defines a short quotation.

  • <s>
  • This element represent things that are no longer relevant or no longer accurate.

  • <samp>
  • This element represent text sample (or quoted) output from a computer program.

  • <script>
  • This element is typically used to embed or refer to executable code.

  • <select>
  • This element consists of drop-down-list that provides set of options.

  • <small>
  • This element defines smaller text.

  • <span>
  • This element is a generic container for phrasing content,

  • <strong>
  • This element indicates that its contents have strong importance.

  • <sub>
  • This element defines text which should be displayed as subscript.

  • <sup>
  • This element defines text which should be displayed as superscript.

  • <textarea>
  • This element shows multi line text area.

  • <time>
  • This element represents a specific period of time.

  • <u>
  • This element defines text which should be rendered in a way indicates that it has a non-textual annotation.

  • <tt>
  • This element defines teletype text.

  • <var>
  • This element represents the name of a variable in a mathematical expression or a programming context.

  • <video>
  • This element embeds a media player which supports video playback into the document.

HTML Var Tag Chapter Next »