HTML elements

S elements

s (strike)

This element represents a container for base text and ruby text — small annotations used for phonetic readings in languages such as Japanese and Chinese. Examples include furigana and zhùyin fúhào (bopomofo).

This is the STRIKE element in a sentence.
<s>STRIKE element</s>


This element represents (sample) output from a program or computing system.

This is the <samp>SAMPLE element</samp> in a sentence.


The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user.

<script src="../assets/js/prism.js"></script>


This element represents a generic document or application section. Ideally, it should be used if there is a natural heading associated with it. This element is not a generic container element. When an element is needed for styling purposes or as a convenience for scripting, authors are encouraged to use the div element instead.

This is a SECTION element
<section class="class-name" id="section-id-name">
  <h5>This is a SECTION element</h5>


This element represents a control for selecting amongst a set of options.

<div class="class-name" id="select-id-name">
  <label for="color">Color</label>
  <select name="color" id="color">
    <option value="">Choose a color</option>
    <option value="Red">Red</option>
    <option value="Green">Green</option>
    <option value="Blue">Blue</option>


This elements represents side comments such as small print. It is not intended to be presentational. The small element should not be used for extended spans of text such as multiple paragraphs, lists, or sections of text. It is only intended for short runs of text.

© copyright Sitename
<small>© copyright Sitename</small>


This element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own. The src attribute gives the address of the media resource. The value must be a valid non-empty URL potentially surrounded by spaces. This attribute must be present.

<source src="test.webm" type="video/webm">


This element represents an inline generic container.

This is the SPAN element in a sentence.
<span class="class-name" id="span-id-name">SPAN element</span>


This element strong importance for its contents.

This is the STRONG element in a sentence.
<strong>STRONG element</strong>


This element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user.

  p { color: red; }


This element can be used inside a var element, for variables that have subscripts.

This is the SUB element in a sentence.
<sub>SUB element</sub>


This element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any.

  <summary>This is the SUMMARY element</summary>


This element represents a superscript and the sub element represents a subscript.

This is the SUP element in a sentence.
<sup>SUP element</sub>