Hard Trance is My Life
By DJ Steve Hill and Technikal
The album with the amusing punctuation has red artwork.
### selectionStart Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/sec-forms.html Gets or sets the offset to the start of the selection. ```APIDOC ## selectionStart ### Description Returns the offset to the start of the selection. Can be set to change the start of the selection. ### Property selectionStart ### Syntax element.selectionStart ### Parameters - value (number) - Optional - The new offset for the start of the selection. ### Returns - offset (number) - The current offset to the start of the selection. ### Example ```js let start = input.selectionStart; input.selectionStart = 0; ``` ``` -------------------------------- ### GET form submission example Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/sec-forms.html A simple form using the GET method. When submitted, the user agent loads the action URL with query parameters appended, e.g., /find?t=cats&q=fur. ```html
``` -------------------------------- ### HTML nav element example Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/sections.html Example of a nav element with a list of links. ```html ``` -------------------------------- ### HTML with required tags due to attributes Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/syntax.html The same example but with attributes on the html and body elements, requiring those start tags to be present. ```htmlWelcome to this example. ``` -------------------------------- ### Image map example with home link Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/semantics-embedded-content.html An image map example showing a link to the home page. ```html Home ``` -------------------------------- ### HTML document after omitting start tag Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/syntax.html The same document as the previous example but with the start tag removed. The DOM is identical to the original. ```html
Welcome to this example.
``` -------------------------------- ### Numeric input control example Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/sec-forms.html Example of using a numeric input control with a label, minimum value, and step. ```html ``` -------------------------------- ### Rendering of multiple annotations example in non-ruby user agents Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/textlevel-semantics.html Shows the expected rendering of the previous multiple-annotations example in non-ruby-capable user agents. ```text ♥: Heart, Cœur. ☘: Shamrock, Trèfle. ✶: Star, Étoile. ``` -------------------------------- ### URL input with datalist example Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/sec-forms.html Markup example showing an input element with type="url" and a datalist providing suggested URLs. The user agent may use the datalist and session history to offer autocomplete suggestions. ```html ``` -------------------------------- ### Reentrant upgrade reaction example with custom element constructor Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/dom.html HTML example showing how defining a custom element can enqueue upgrade reactions for multiple elements, and how a constructor that removes and re-inserts an element can cause a second upgrade reaction. The upgrade algorithm bails out early when the element is already custom. ```htmlTo make George eat an apple, select File | Eat Apple...
``` -------------------------------- ### rp element example with ruby annotations Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/textlevel-semantics.html Shows how to use rp elements to provide fallback parentheses around ruby text for user agents that do not support ruby annotations. The example includes white space for readability. ```html ... 漢Hello world.
``` -------------------------------- ### Select drop-down with optgroup groups Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/sec-forms.html Example form showing how to group option elements into optgroup elements within a select widget. The form submits to /courseselector via GET, and each optgroup has a label and contains option elements with values. ```html ``` -------------------------------- ### Autoplay muted video example Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/semantics-embedded-content.html An HTML example showing a video that autoplays muted to avoid annoying users, with controls and loop enabled. The user can turn the sound on. ```html ``` -------------------------------- ### Transparent content model example Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/dom.html Shows how to check whether content is allowed inside a transparent element by examining the content models of its ancestors. The example walks through the `a`, `map`, `ins`, and `object` elements to determine that text is allowed as phrasing content. ```htmlApples
``` -------------------------------- ### HTML section element examples Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/sections.html Example of a section element with headings and paragraphs, showing how sections group content. ```html1500+ shows, 14+ countries
100+ shows, 8+ countries
Last modified: 2001-04-23
Author: fred@example.com
The little kitten gently seated itself on a piece of carpet. Later in his life, this would be referred to as the time the cat sat on the mat.
``` ```htmlThere was once an example from Femley,
Whose markup was of dubious quality.
The validator complained,
So the author was pained,
To move the error from the markup to the rhyming.
If you want to play on a stage, you should bring one.
Amplifiers up to 300W or 90dB are welcome.
``` -------------------------------- ### wbr example: suggested wrapping points in code listing Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/textlevel-semantics.html This example uses wbr elements to suggest wrapping points in long lines of code within a pre element. ```htmlHeading heading = Helm.HeadingFactory(HeadingCoordinates[1],``` -------------------------------- ### MathML quadratic formula example Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/semantics-embedded-content.html Example of using MathML in an HTML document to display the quadratic formula. Some browsers may not render it correctly. ```htmlHeadingCoordinates[2], HeadingCoordinates[3], HeadingCoordinates[4]); Course course = Helm.CourseFactory(Heading, Maps.MapFactoryFromHeading(heading), Speeds.GetMaximumSpeed().ConvertToWarp());
``` -------------------------------- ### HTML header element example Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/sections.html Example of a header element inside an article, containing a heading and metadata. ```html
By DJ Steve Hill and Technikal
The album with the amusing punctuation has red artwork.
The computer said Too much cheese in tray two but I didn’t know what that meant.
``` -------------------------------- ### Example of presentational markup: Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/introduction.html Shows an example of presentational markup using the font element with a color attribute, used to illustrate the maintenance cost of style-dependent markup. ```html ``` -------------------------------- ### Bookmark permalinks example Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/links.html Shows how to use rel="bookmark" on anchor elements to create permalinks for sections or articles. The example includes three permalinks: one for a div section, one for an outer article, and one for an inner article. ```htmlThis permalink applies to only the content from the first h2 to the second h2. The div isn’t exactly that section, but it roughly corresponds to it.
This permalink applies to the outer article element (which could be, e.g., a blog post).
This permalink applies to the inner article element (which could be, e.g., a blog comment).
The name of the file you picked is: (none).
``` ```javascript ``` -------------------------------- ### Modal dialog example for adding coins Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/interactive-elements.html Example of a modal dialog that provides a form for adding coins to a wallet in an online game. The dialog element is shown without an open attribute, so it should not be displayed to the user. ```html
View the latest weather details for Kingston upon Thames.
``` -------------------------------- ### Keywords meta tag example Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/document-metadata.html This example shows a `meta` element with `name="keywords"` used to specify keywords relevant to a page about typefaces on UK motorways. The value must be a set of comma-separated tokens. ```htmlWelcome to this example.
``` -------------------------------- ### media.readyState Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/semantics-embedded-content.html Returns the current ready state of the media element, describing how much data is available. ```APIDOC ## media.readyState ### Description Returns the value that describes the current ready state of the media element. ### Type Number (read-only) ``` -------------------------------- ### media.play() Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/semantics-embedded-content.html Starts or resumes playback of the media resource. If playback has ended, it restarts from the beginning. ```APIDOC ## media.play() ### Description Sets the `paused` attribute to false, loading the media resource and beginning playback if necessary. If playback had ended, it restarts from the start. ### Method play() ### Parameters None. ### Returns No return value. ``` -------------------------------- ### HTML example: navigation links with accesskey attributes Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/editing.html Shows a navigation block where each link has an accesskey attribute to provide keyboard shortcuts. The accesskey values are single printable characters (a, t, s, b, c) and the example is from the HTML 5.3 specification section 5.5.2. ```html ``` -------------------------------- ### data element example with product ID Source: https://www.w3.org/TR/2021/NOTE-html53-20210128/textlevel-semantics.html Shows how to use the data element to provide a machine-readable value (product ID) alongside human-readable text. ```htmlWelcome.