Inline

Updated: 10/11/2017 by Computer Hope

Alternatively referred to as in-line, inline is any element contained within a program, document, or message. For example, with HTML, inline code is anything that is built into the web page, instead of being loaded from an external file. The majority of content seen on this page is inline, but the images and CSS file are external.

When referring to how HTML or CSS is displayed, an inline element refers to an element that stays in the same line as the code that surrounds the text. For example, the bolded text of "in-line" and "inline" in the above paragraph are both inline elements.

Examples of CSS inline elements

  • <a> - Create an anchor.
  • <abbr> - Create an acronym or abbreviation.
  • <acronym> - Create an acronym.
  • <audio> - Embed sound files.
  • <b> - Bold text.
  • <bdi> - Confine text that may be formatted differently.
  • <bdo> - Force text to go one way or another.
  • <big> - Make text bigger.
  • <blink> - Make text blink.
  • <br> - Create a line break.
  • <button> - Create a form button.
  • <cite> - Mention any creative work.
  • <code> - Designate text as code.
  • <del> - Delete or strikethrough text.
  • <dfn> - Represent the defining instance of a term.
  • <em> - Give emphasis to text.
  • <font> - Change the font.
  • <i> - Italicizes text.
  • <img> - Show an image file.
  • <input> - Create an input box on a form.
  • <ins> - Insert text.
  • <kbd> - Indicate text has been inserted using a keyboard.
  • <mark> - Highlight text.
  • <meter> - Create a meter.
  • <output> - Show result of a user's action or a calculation.
  • <progress> - Display the progress of a task.
  • <q> - Designate text as a short quotation.
  • <rp> - Designate parenthesis for browsers without Ruby annotations.
  • <rt> - Designate the pronunciation of an East Asian word.
  • <ruby> - Designate a ruby annotation on a web page.
  • <s> - Strikethrough text.
  • <samp> - Designate sample output from a computer
  • <select> - Drop-down menu for form field
  • <small> - Make text smaller.
  • <span> - Container for grouping or phrasing content.
  • <strike> - Strikethrough text.
  • <strong> - Mark text with a strong importance.
  • <sub> - Create subscript text.
  • <sup> - Make text superscript.
  • <strong> - Give strong importance to text.
  • <textarea> - Create text area for form.
  • <time> - Designate a date and time that are readable by humans.
  • <tt> - Make text teletype text.
  • <u> - Underline text.
  • <var> - Define text as a variable.
  • <video> - Show a video file.
  • <wbr> - Break a line of text.

External, HTML, Internal, Programming terms, Web design terms