Inline

Updated: 10/11/2017 by Computer Hope

In-line or inline is any element within a program, document, or message. For example, with HTML (hypertext markup language), inline code is anything built into the web page instead of being loaded from an external file. Most content seen on this page is inline, but the images and CSS (cascading style sheets) files are external.

With how HTML or CSS is displayed, an inline element stays in the same line as the code surrounding 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 differently formatted text.
  • <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> - Emphasize 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 was inserted using a keyboard.
  • <mark> - Highlight text.
  • <meter> - Create a meter.
  • <output> - Show the 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 strong importance.
  • <sub> - Create subscript text.
  • <sup> - Make text superscript.
  • <strong> - Give strong importance to text.
  • <textarea> - Create a 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