<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with html]]></title><description><![CDATA[A list of topics that have been tagged with html]]></description><link>https://community.secnto.com//tags/html</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 19:56:15 GMT</lastBuildDate><atom:link href="https://community.secnto.com//tags/html.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[HTML Quotation and Citation Elements]]></title><description><![CDATA[<h3><strong>HTML Quotation and Citation Elements</strong></h3>
<p dir="auto">Quoting and citing information correctly is essential, both in print and online. In HTML, several elements are specifically designed to help web developers manage quotations and citations of texts and sources. Using these elements properly ensures that the content is readable, properly attributed, and accessible. In this article, we will explore the HTML elements <code>&lt;blockquote&gt;</code>, <code>&lt;q&gt;</code>, and <code>&lt;cite&gt;</code>, and understand their importance in web development.</p>
<hr />
<h4><strong>1. The <code>&lt;blockquote&gt;</code> Element</strong></h4>
<p dir="auto">The <code>&lt;blockquote&gt;</code> element is designed for block-level quotations, which are typically long and span multiple lines. Unlike inline quotes, block-level quotes are visually separated from the surrounding content, often indented or styled differently by default in web browsers.</p>
<p dir="auto"><strong>Description</strong>: It is most appropriate for quoting paragraphs or larger excerpts, giving them prominence on the page. The use of the <code>cite</code> attribute in <code>&lt;blockquote&gt;</code> can provide an external source for the quotation, enhancing transparency and credibility.</p>
<p dir="auto">Example:</p>
<pre><code class="language-html">&lt;blockquote cite="https://www.example.com/source"&gt;
    This is a long quotation from an external source. It is usually indented and has its own distinct formatting.
&lt;/blockquote&gt;
</code></pre>
<p dir="auto">In this example, the quote is clearly distinguished from the rest of the content, and the URL in the <code>cite</code> attribute references the source.</p>
<h5><strong>Visual Output</strong>:</h5>
<p dir="auto">Most browsers render block quotes with an indentation or separate spacing from other text, making them stand out for easy recognition.</p>
<hr />
<h4><strong>2. The <code>&lt;q&gt;</code> Element</strong></h4>
<p dir="auto">The <code>&lt;q&gt;</code> element is meant for shorter, inline quotations, typically just a few words or a sentence. Unlike <code>&lt;blockquote&gt;</code>, it doesn’t require special formatting or indentation, but browsers automatically wrap the content in quotation marks. This allows authors to integrate quotations smoothly into paragraphs.</p>
<p dir="auto"><strong>Description</strong>: It’s the ideal choice for smaller quotes that don’t require as much visual separation. The <code>&lt;q&gt;</code> element is often used for quoting brief remarks or phrases within a sentence.</p>
<p dir="auto">Example:</p>
<pre><code class="language-html">&lt;p&gt;She said, &lt;q&gt;HTML is the backbone of the web.&lt;/q&gt;&lt;/p&gt;
</code></pre>
<h5><strong>Visual Output</strong>:</h5>
<p dir="auto">She said, “HTML is the backbone of the web.”</p>
<p dir="auto">As you can see, the <code>&lt;q&gt;</code> element adds quotation marks around the text, making it visually clear that it’s a quotation.</p>
<hr />
<h4><strong>3. The <code>&lt;cite&gt;</code> Element</strong></h4>
<p dir="auto">The <code>&lt;cite&gt;</code> element is used to reference the title of a work such as books, research papers, articles, movies, or other creative works. Unlike <code>&lt;blockquote&gt;</code> or <code>&lt;q&gt;</code>, it doesn’t represent a direct quote but rather the name of the work being cited.</p>
<p dir="auto"><strong>Description</strong>: When citing a work, it’s important to provide proper attribution, and <code>&lt;cite&gt;</code> helps achieve that. This element is often displayed in italics by default in most browsers, distinguishing it as the title of a referenced work. However, <code>&lt;cite&gt;</code> is not meant for URLs or names of people—it should be used strictly for the title of a work.</p>
<p dir="auto">Example:</p>
<pre><code class="language-html">&lt;p&gt;The novel &lt;cite&gt;Pride and Prejudice&lt;/cite&gt; was written by Jane Austen.&lt;/p&gt;
</code></pre>
<h5><strong>Visual Output</strong>:</h5>
<p dir="auto">The novel <em>Pride and Prejudice</em> was written by Jane Austen.</p>
<p dir="auto">By default, most browsers italicize text within the <code>&lt;cite&gt;</code> element to visually signal the title of a work.</p>
<hr />
<h4><strong>4. The <code>cite</code> Attribute in <code>&lt;blockquote&gt;</code></strong></h4>
<p dir="auto">The <code>cite</code> attribute is a special attribute that can be added to the <code>&lt;blockquote&gt;</code> element to provide the URL or source of the quote. Although the attribute does not affect how the quote looks on the page, it plays a crucial role in providing additional context for the reader or search engines.</p>
<p dir="auto"><strong>Description</strong>: Including the <code>cite</code> attribute improves transparency and allows the viewer to track the source of the quote. While it may not be visible on the page, web crawlers, screen readers, and certain tools can use it to enhance the overall accessibility and credibility of the content.</p>
<p dir="auto">Example:</p>
<pre><code class="language-html">&lt;blockquote cite="https://www.wikipedia.org/wiki/HTML"&gt;
    HTML stands for HyperText Markup Language.
&lt;/blockquote&gt;
</code></pre>
<h5><strong>Visual Output</strong>:</h5>
<p dir="auto">The quote is formatted as usual, but the source URL can be found in the code for reference. This is particularly useful when citing academic work or journalistic material.</p>
<hr />
<h4><strong>Why Use These Elements?</strong></h4>
<p dir="auto">Semantic HTML elements play a vital role in organizing content meaningfully. By using <code>&lt;blockquote&gt;</code>, <code>&lt;q&gt;</code>, and <code>&lt;cite&gt;</code> appropriately, you create content that is:</p>
<ul>
<li><strong>Accessible</strong>: Screen readers and assistive technologies can interpret the content correctly.</li>
<li><strong>Search Engine Friendly</strong>: Semantic elements help search engines understand your content, which can improve SEO.</li>
<li><strong>Structured</strong>: Correct usage of quotes and citations makes your content more professional and organized.</li>
</ul>
<p dir="auto">These elements also allow for visual clarity, making quotations and references easy to distinguish from the main content.</p>
<hr />
<h4><strong>Conclusion</strong></h4>
<p dir="auto">Properly quoting and citing works in HTML is more than just a matter of aesthetics—it’s about giving proper credit, ensuring clarity, and making your content semantically rich. By utilizing elements like <code>&lt;blockquote&gt;</code>, <code>&lt;q&gt;</code>, and <code>&lt;cite&gt;</code>, along with the <code>cite</code> attribute, you not only improve the structure and credibility of your content but also contribute to a better user experience for all audiences.</p>
]]></description><link>https://community.secnto.com//topic/2625/html-quotation-and-citation-elements</link><guid isPermaLink="true">https://community.secnto.com//topic/2625/html-quotation-and-citation-elements</guid><dc:creator><![CDATA[Hamza Bin Abdul Hafeez]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[What are HTML Headings?]]></title><description><![CDATA[1. What are HTML Headings?
HTML headings are elements used to define the titles and sub-titles on a webpage. They help organize content hierarchically, making it easier for both users and search engines to understand the structure of the content. The &lt;h1&gt; to &lt;h6&gt; tags represent different levels of headings, with &lt;h1&gt; being the most important and &lt;h6&gt; the least.
2. An HTML Page With and Without Headings
With Headings:
Headings help to create a clear structure in the document. For example:
&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;title&gt;Page with Headings&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;h1&gt;Main Title&lt;/h1&gt;
    &lt;h2&gt;Subheading 1&lt;/h2&gt;
    &lt;h3&gt;Sub-subheading 1&lt;/h3&gt;
    &lt;h2&gt;Subheading 2&lt;/h2&gt;
    &lt;p&gt;Some content here...&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;

Without Headings:
Without headings, the content might appear as a block of text, lacking clear divisions and structure:
&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;title&gt;Page Without Headings&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;p&gt;Main Title&lt;/p&gt;
    &lt;p&gt;Subheading 1&lt;/p&gt;
    &lt;p&gt;Some content here...&lt;/p&gt;
    &lt;p&gt;Subheading 2&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;

3. Different Headings in HTML
HTML provides six levels of headings:

&lt;h1&gt;: Main heading
&lt;h2&gt;: Subheading
&lt;h3&gt;: Sub-subheading
&lt;h4&gt;: Further subdivision
&lt;h5&gt;: Even more detailed
&lt;h6&gt;: The smallest level of heading

Each level of heading represents a different level of importance or hierarchy within the content.
4. HTML Heading Size
The size of the headings is relative, with &lt;h1&gt; being the largest and &lt;h6&gt; the smallest. Browsers typically render &lt;h1&gt; in a larger font size compared to &lt;h6&gt;, but exact sizes can be customized with CSS. For example:
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1em; }
h5 { font-size: 0.83em; }
h6 { font-size: 0.67em; }

5. Why are Headings Important?

Accessibility: Headings help screen readers navigate the page, providing a clear outline of the content.
SEO: Search engines use headings to understand the content and relevance of different sections, which can impact search rankings.
Usability: Headings break up text into manageable sections, making it easier for users to scan and find information quickly.

]]></description><link>https://community.secnto.com//topic/2621/what-are-html-headings</link><guid isPermaLink="true">https://community.secnto.com//topic/2621/what-are-html-headings</guid><dc:creator><![CDATA[Hamza Bin Abdul Hafeez]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[HTML Attribute Reference]]></title><description><![CDATA[<h3>HTML Attribute Reference</h3>
<p dir="auto">The table below provides an overview of HTML attributes, including which elements they apply to and their descriptions:</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th><strong>Attribute</strong></th>
<th><strong>Belongs to</strong></th>
<th><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>accept</code></td>
<td><code>&lt;input&gt;</code></td>
<td>Specifies the types of files that the server accepts (for <code>type="file"</code>).</td>
</tr>
<tr>
<td><code>accept-charset</code></td>
<td><code>&lt;form&gt;</code></td>
<td>Specifies the character encodings to be used for form submission.</td>
</tr>
<tr>
<td><code>accesskey</code></td>
<td>Global Attributes</td>
<td>Specifies a shortcut key to activate or focus an element.</td>
</tr>
<tr>
<td><code>action</code></td>
<td><code>&lt;form&gt;</code></td>
<td>Specifies where to send form data when the form is submitted.</td>
</tr>
<tr>
<td><code>align</code></td>
<td>Not supported in HTML 5.</td>
<td>Specifies alignment according to surrounding elements. Use CSS instead.</td>
</tr>
<tr>
<td><code>alt</code></td>
<td><code>&lt;area&gt;</code>, <code>&lt;img&gt;</code>, <code>&lt;input&gt;</code></td>
<td>Provides alternate text when the original element fails to display.</td>
</tr>
<tr>
<td><code>async</code></td>
<td><code>&lt;script&gt;</code></td>
<td>Specifies that the script should be executed asynchronously (for external scripts).</td>
</tr>
<tr>
<td><code>autocomplete</code></td>
<td><code>&lt;form&gt;</code>, <code>&lt;input&gt;</code></td>
<td>Specifies whether autocomplete is enabled for the element.</td>
</tr>
<tr>
<td><code>autofocus</code></td>
<td><code>&lt;button&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, <code>&lt;textarea&gt;</code></td>
<td>Indicates that the element should automatically get focus when the page loads.</td>
</tr>
<tr>
<td><code>autoplay</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Specifies that the audio/video should start playing as soon as it’s ready.</td>
</tr>
<tr>
<td><code>bgcolor</code></td>
<td>Not supported in HTML 5.</td>
<td>Specifies the background color of an element. Use CSS instead.</td>
</tr>
<tr>
<td><code>border</code></td>
<td>Not supported in HTML 5.</td>
<td>Specifies the width of the border of an element. Use CSS instead.</td>
</tr>
<tr>
<td><code>charset</code></td>
<td><code>&lt;meta&gt;</code>, <code>&lt;script&gt;</code></td>
<td>Defines the character encoding.</td>
</tr>
<tr>
<td><code>checked</code></td>
<td><code>&lt;input&gt;</code></td>
<td>Indicates that an <code>&lt;input&gt;</code> element should be pre-selected (for <code>type="checkbox"</code> or <code>type="radio"</code>).</td>
</tr>
<tr>
<td><code>cite</code></td>
<td><code>&lt;blockquote&gt;</code>, <code>&lt;del&gt;</code>, <code>&lt;ins&gt;</code>, <code>&lt;q&gt;</code></td>
<td>Provides a URL that explains the quote/deleted/inserted text.</td>
</tr>
<tr>
<td><code>class</code></td>
<td>Global Attributes</td>
<td>Assigns one or more class names to an element (refers to a class in a style sheet).</td>
</tr>
<tr>
<td><code>color</code></td>
<td>Not supported in HTML 5.</td>
<td>Specifies the text color of an element. Use CSS instead.</td>
</tr>
<tr>
<td><code>cols</code></td>
<td><code>&lt;textarea&gt;</code></td>
<td>Defines the visible width of a text area.</td>
</tr>
<tr>
<td><code>colspan</code></td>
<td><code>&lt;td&gt;</code>, <code>&lt;th&gt;</code></td>
<td>Specifies how many columns a table cell should span.</td>
</tr>
<tr>
<td><code>content</code></td>
<td><code>&lt;meta&gt;</code></td>
<td>Provides the value associated with the <code>http-equiv</code> or <code>name</code> attribute.</td>
</tr>
<tr>
<td><code>contenteditable</code></td>
<td>Global Attributes</td>
<td>Indicates whether the content of an element is editable.</td>
</tr>
<tr>
<td><code>controls</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Specifies that audio/video controls should be displayed.</td>
</tr>
<tr>
<td><code>coords</code></td>
<td><code>&lt;area&gt;</code></td>
<td>Defines the coordinates of an area in an image map.</td>
</tr>
<tr>
<td><code>data</code></td>
<td><code>&lt;object&gt;</code></td>
<td>Specifies the URL of the resource for the object.</td>
</tr>
<tr>
<td><code>data-*</code></td>
<td>Global Attributes</td>
<td>Used to store custom data private to the page or application.</td>
</tr>
<tr>
<td><code>datetime</code></td>
<td><code>&lt;del&gt;</code>, <code>&lt;ins&gt;</code>, <code>&lt;time&gt;</code></td>
<td>Specifies the date and time.</td>
</tr>
<tr>
<td><code>default</code></td>
<td><code>&lt;track&gt;</code></td>
<td>Indicates that the track should be enabled if no other track is more appropriate.</td>
</tr>
<tr>
<td><code>defer</code></td>
<td><code>&lt;script&gt;</code></td>
<td>Specifies that the script should be executed when the page has finished parsing (for external scripts).</td>
</tr>
<tr>
<td><code>dir</code></td>
<td>Global Attributes</td>
<td>Sets the text direction for the content in an element.</td>
</tr>
<tr>
<td><code>dirname</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;textarea&gt;</code></td>
<td>Indicates that the text direction will be submitted.</td>
</tr>
<tr>
<td><code>disabled</code></td>
<td><code>&lt;button&gt;</code>, <code>&lt;fieldset&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;optgroup&gt;</code>, <code>&lt;option&gt;</code>, <code>&lt;select&gt;</code>, <code>&lt;textarea&gt;</code></td>
<td>Disables the specified element or group of elements.</td>
</tr>
<tr>
<td><code>download</code></td>
<td><code>&lt;a&gt;</code>, <code>&lt;area&gt;</code></td>
<td>Indicates that the target will be downloaded when a user clicks the hyperlink.</td>
</tr>
<tr>
<td><code>draggable</code></td>
<td>Global Attributes</td>
<td>Determines whether an element is draggable or not.</td>
</tr>
<tr>
<td><code>enctype</code></td>
<td><code>&lt;form&gt;</code></td>
<td>Specifies how form-data should be encoded when submitting it to the server (for <code>method="post"</code>).</td>
</tr>
<tr>
<td><code>enterkeyhint</code></td>
<td>Global Attributes</td>
<td>Provides a hint about the text of the enter-key on a virtual keyboard.</td>
</tr>
<tr>
<td><code>for</code></td>
<td><code>&lt;label&gt;</code>, <code>&lt;output&gt;</code></td>
<td>Specifies which form element(s) a label/calculation is bound to.</td>
</tr>
<tr>
<td><code>form</code></td>
<td><code>&lt;button&gt;</code>, <code>&lt;fieldset&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;label&gt;</code>, <code>&lt;meter&gt;</code>, <code>&lt;object&gt;</code>, <code>&lt;output&gt;</code>, <code>&lt;select&gt;</code>, <code>&lt;textarea&gt;</code></td>
<td>Specifies the name of the form the element belongs to.</td>
</tr>
<tr>
<td><code>formaction</code></td>
<td><code>&lt;button&gt;</code>, <code>&lt;input&gt;</code></td>
<td>Defines where to send form-data when the form is submitted (for <code>type="submit"</code>).</td>
</tr>
<tr>
<td><code>headers</code></td>
<td><code>&lt;td&gt;</code>, <code>&lt;th&gt;</code></td>
<td>Lists one or more header cells related to a cell.</td>
</tr>
<tr>
<td><code>height</code></td>
<td><code>&lt;canvas&gt;</code>, <code>&lt;embed&gt;</code>, <code>&lt;iframe&gt;</code>, <code>&lt;img&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;object&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Sets the height of the element.</td>
</tr>
<tr>
<td><code>hidden</code></td>
<td>Global Attributes</td>
<td>Indicates that an element is not relevant.</td>
</tr>
<tr>
<td><code>high</code></td>
<td><code>&lt;meter&gt;</code></td>
<td>Defines the range that is considered to be a high value.</td>
</tr>
<tr>
<td><code>href</code></td>
<td><code>&lt;a&gt;</code>, <code>&lt;area&gt;</code>, <code>&lt;base&gt;</code>, <code>&lt;link&gt;</code></td>
<td>Provides the URL of the page the link goes to.</td>
</tr>
<tr>
<td><code>hreflang</code></td>
<td><code>&lt;a&gt;</code>, <code>&lt;area&gt;</code>, <code>&lt;link&gt;</code></td>
<td>Specifies the language of the linked document.</td>
</tr>
<tr>
<td><code>http-equiv</code></td>
<td><code>&lt;meta&gt;</code></td>
<td>Provides an HTTP header for the information/value of the content attribute.</td>
</tr>
<tr>
<td><code>id</code></td>
<td>Global Attributes</td>
<td>Assigns a unique id to an element.</td>
</tr>
<tr>
<td><code>inert</code></td>
<td>Global Attributes</td>
<td>Indicates that the browser should ignore this section.</td>
</tr>
<tr>
<td><code>inputmode</code></td>
<td>Global Attributes</td>
<td>Defines the mode of a virtual keyboard.</td>
</tr>
<tr>
<td><code>ismap</code></td>
<td><code>&lt;img&gt;</code></td>
<td>Specifies an image as a server-side image map.</td>
</tr>
<tr>
<td><code>kind</code></td>
<td><code>&lt;track&gt;</code></td>
<td>Specifies the kind of text track.</td>
</tr>
<tr>
<td><code>label</code></td>
<td><code>&lt;track&gt;</code>, <code>&lt;option&gt;</code>, <code>&lt;optgroup&gt;</code></td>
<td>Provides the title of the text track.</td>
</tr>
<tr>
<td><code>lang</code></td>
<td>Global Attributes</td>
<td>Defines the language of the element’s content.</td>
</tr>
<tr>
<td><code>list</code></td>
<td><code>&lt;input&gt;</code></td>
<td>Refers to a <code>&lt;datalist&gt;</code> element that contains pre-defined options for an <code>&lt;input&gt;</code> element.</td>
</tr>
<tr>
<td><code>loop</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Indicates that the audio/video should start over when finished.</td>
</tr>
<tr>
<td><code>low</code></td>
<td><code>&lt;meter&gt;</code></td>
<td>Defines the range considered to be a low value.</td>
</tr>
<tr>
<td><code>max</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;meter&gt;</code>, <code>&lt;progress&gt;</code></td>
<td>Specifies the maximum value.</td>
</tr>
<tr>
<td><code>maxlength</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;textarea&gt;</code></td>
<td>Sets the maximum number of characters allowed in an element.</td>
</tr>
<tr>
<td><code>media</code></td>
<td><code>&lt;a&gt;</code>, <code>&lt;area&gt;</code>, <code>&lt;link&gt;</code>, <code>&lt;source&gt;</code>, <code>&lt;style&gt;</code></td>
<td>Defines what media/device the linked document is optimized for.</td>
</tr>
<tr>
<td><code>method</code></td>
<td><code>&lt;form&gt;</code></td>
<td>Specifies the HTTP method to use when sending form-data.</td>
</tr>
<tr>
<td><code>min</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;meter&gt;</code></td>
<td>Sets the minimum value.</td>
</tr>
<tr>
<td><code>multiple</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;select&gt;</code></td>
<td>Allows multiple values to be entered.</td>
</tr>
<tr>
<td><code>muted</code></td>
<td><code>&lt;video&gt;</code>, <code>&lt;audio&gt;</code></td>
<td>Indicates that the audio output should be muted.</td>
</tr>
<tr>
<td><code>name</code></td>
<td><code>&lt;button&gt;</code>, <code>&lt;fieldset&gt;</code>, <code>&lt;form&gt;</code>, <code>&lt;iframe&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;map&gt;</code>, <code>&lt;meta&gt;</code>, <code>&lt;object&gt;</code>, <code>&lt;output&gt;</code>, <code>&lt;param&gt;</code>, <code>&lt;select&gt;</code>, <code>&lt;textarea&gt;</code></td>
<td>Specifies the name of the element.</td>
</tr>
<tr>
<td><code>novalidate</code></td>
<td><code>&lt;form&gt;</code></td>
<td>Prevents the form from being validated when submitted.</td>
</tr>
<tr>
<td><code>onabort</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;embed&gt;</code>, <code>&lt;img&gt;</code>, <code>&lt;object&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when an operation is aborted.</td>
</tr>
<tr>
<td><code>onafterprint</code></td>
<td><code>&lt;body&gt;</code></td>
<td>Script to be executed after the document is printed.</td>
</tr>
<tr>
<td><code>onbeforeprint</code></td>
<td><code>&lt;body&gt;</code></td>
<td>Script to be executed before the document is printed.</td>
</tr>
<tr>
<td><code>onbeforeunload</code></td>
<td><code>&lt;body&gt;</code></td>
<td>Script to be executed when the document is about to be unloaded.</td>
</tr>
<tr>
<td><code>onblur</code></td>
<td>All visible elements</td>
<td>Script to be executed when an element loses focus.</td>
</tr>
<tr>
<td><code>oncanplay</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the browser can start playing the media.</td>
</tr>
<tr>
<td><code>onchange</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, <code>&lt;textarea&gt;</code></td>
<td>Script to be executed when the value of an element changes.</td>
</tr>
<tr>
<td><code>onclick</code></td>
<td>All visible elements</td>
<td>Script to be executed when an element is clicked.</td>
</tr>
<tr>
<td><code>oncontextmenu</code></td>
<td>All visible elements</td>
<td>Script to be executed when the right mouse button is clicked.</td>
</tr>
<tr>
<td><code>oncopy</code></td>
<td>All visible elements</td>
<td>Script to be executed when the content of an element is copied.</td>
</tr>
<tr>
<td><code>oncut</code></td>
<td>All visible elements</td>
<td>Script to be executed when the content of an element is cut.</td>
</tr>
<tr>
<td><code>ondblclick</code></td>
<td>All visible elements</td>
<td>Script to be executed when an element is double-clicked.</td>
</tr>
<tr>
<td><code>ondrag</code></td>
<td>All visible elements</td>
<td>Script to be executed when an element is dragged.</td>
</tr>
<tr>
<td><code>ondragend</code></td>
<td>All visible elements</td>
<td>Script to be executed when a drag operation is completed.</td>
</tr>
<tr>
<td><code>ondragenter</code></td>
<td>All visible elements</td>
<td>Script to be executed when an element is dragged over a valid drop target.</td>
</tr>
<tr>
<td><code>ondragleave</code></td>
<td>All visible elements</td>
<td>Script to be executed when an element leaves a valid drop target.</td>
</tr>
<tr>
<td><code>ondragover</code></td>
<td>All visible elements</td>
<td>Script to be executed when an element is dragged over another element.</td>
</tr>
<tr>
<td><code>ondragstart</code></td>
<td>All visible elements</td>
<td>Script to be executed when a drag operation starts.</td>
</tr>
<tr>
<td><code>ondrop</code></td>
<td>All visible elements</td>
<td>Script to be executed when an element is dropped.</td>
</tr>
<tr>
<td><code>onended</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the media ends.</td>
</tr>
<tr>
<td><code>onerror</code></td>
<td><code>&lt;img&gt;</code>, <code>&lt;script&gt;</code>, <code>&lt;iframe&gt;</code>, <code>&lt;object&gt;</code></td>
<td>Script to be executed when an error occurs.</td>
</tr>
<tr>
<td><code>onfocus</code></td>
<td>All visible elements</td>
<td>Script to be executed when an element gets focus.</td>
</tr>
<tr>
<td><code>onformchange</code></td>
<td><code>&lt;form&gt;</code></td>
<td>Script to be executed when the form’s elements change.</td>
</tr>
<tr>
<td><code>onforminput</code></td>
<td><code>&lt;form&gt;</code></td>
<td>Script to be executed when an input element within the form changes.</td>
</tr>
<tr>
<td><code>oninput</code></td>
<td>All visible elements</td>
<td>Script to be executed when the value of an input element changes.</td>
</tr>
<tr>
<td><code>oninvalid</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, <code>&lt;textarea&gt;</code></td>
<td>Script to be executed when an input element fails validation.</td>
</tr>
<tr>
<td><code>onkeydown</code></td>
<td>All visible elements</td>
<td>Script to be executed when a key is pressed.</td>
</tr>
<tr>
<td><code>onkeypress</code></td>
<td>All visible elements</td>
<td>Script to be executed when a key is pressed and released.</td>
</tr>
<tr>
<td><code>onkeyup</code></td>
<td>All visible elements</td>
<td>Script to be executed when a key is released.</td>
</tr>
<tr>
<td><code>onload</code></td>
<td><code>&lt;body&gt;</code>, <code>&lt;iframe&gt;</code>, <code>&lt;img&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;script&gt;</code></td>
<td>Script to be executed when an element finishes loading.</td>
</tr>
<tr>
<td><code>onloadeddata</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the media’s data is loaded.</td>
</tr>
<tr>
<td><code>onloadedmetadata</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the media’s metadata is loaded.</td>
</tr>
<tr>
<td><code>onloadstart</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the media starts loading.</td>
</tr>
<tr>
<td><code>onmessage</code></td>
<td><code>&lt;iframe&gt;</code>, <code>&lt;object&gt;</code>, <code>&lt;window&gt;</code></td>
<td>Script to be executed when a message is received from another window.</td>
</tr>
<tr>
<td><code>onmousedown</code></td>
<td>All visible elements</td>
<td>Script to be executed when the mouse button is pressed down.</td>
</tr>
<tr>
<td><code>onmousemove</code></td>
<td>All visible elements</td>
<td>Script to be executed when the mouse pointer moves.</td>
</tr>
<tr>
<td><code>onmouseout</code></td>
<td>All visible elements</td>
<td>Script to be executed when the mouse pointer leaves an element.</td>
</tr>
<tr>
<td><code>onmouseover</code></td>
<td>All visible elements</td>
<td>Script to be executed when the mouse pointer is moved onto an element.</td>
</tr>
<tr>
<td><code>onmouseup</code></td>
<td>All visible elements</td>
<td>Script to be executed when the mouse button is released.</td>
</tr>
<tr>
<td><code>onpause</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the media is paused.</td>
</tr>
<tr>
<td><code>onplay</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the media starts playing.</td>
</tr>
<tr>
<td><code>onplaying</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the media starts playing after having been paused.</td>
</tr>
<tr>
<td><code>onprogress</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed while the media is being loaded.</td>
</tr>
<tr>
<td><code>onratechange</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the playback rate changes.</td>
</tr>
<tr>
<td><code>onreset</code></td>
<td><code>&lt;form&gt;</code></td>
<td>Script to be executed when a form is reset.</td>
</tr>
<tr>
<td><code>onscroll</code></td>
<td>All visible elements</td>
<td>Script to be executed when an element is scrolled.</td>
</tr>
<tr>
<td><code>onseeked</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the user has finished seeking to a new position in the media.</td>
</tr>
<tr>
<td><code>onseeking</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the user starts seeking to a new position in the media.</td>
</tr>
<tr>
<td><code>onselect</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;textarea&gt;</code></td>
<td>Script to be executed when text is selected.</td>
</tr>
<tr>
<td><code>onstalled</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the media has stopped loading.</td>
</tr>
<tr>
<td><code>onsubmit</code></td>
<td><code>&lt;form&gt;</code></td>
<td>Script to be executed when a form is submitted.</td>
</tr>
<tr>
<td><code>onsuspend</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the media is paused before it can be played.</td>
</tr>
<tr>
<td><code>ontimeupdate</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the time of the media is updated.</td>
</tr>
<tr>
<td><code>onvolumechange</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the volume changes.</td>
</tr>
<tr>
<td><code>onwaiting</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Script to be executed when the media pauses to buffer.</td>
</tr>
<tr>
<td><code>open</code></td>
<td><code>&lt;details&gt;</code></td>
<td>Specifies whether the <code>&lt;details&gt;</code> element is open or closed.</td>
</tr>
<tr>
<td><code>optimum</code></td>
<td><code>&lt;meter&gt;</code></td>
<td>Defines the range that is considered optimal.</td>
</tr>
<tr>
<td><code>pattern</code></td>
<td><code>&lt;input&gt;</code></td>
<td>Specifies a regular expression that the input element’s value must match.</td>
</tr>
<tr>
<td><code>placeholder</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;textarea&gt;</code></td>
<td>Provides a hint to the user about what to enter in an input field.</td>
</tr>
<tr>
<td><code>poster</code></td>
<td><code>&lt;video&gt;</code></td>
<td>Specifies an image to show as a placeholder before the video starts playing.</td>
</tr>
<tr>
<td><code>preload</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Specifies if and how the media should be loaded when the page loads.</td>
</tr>
<tr>
<td><code>readonly</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;textarea&gt;</code></td>
<td>Specifies that an input field is read-only.</td>
</tr>
<tr>
<td><code>rel</code></td>
<td><code>&lt;a&gt;</code>, <code>&lt;area&gt;</code>, <code>&lt;link&gt;</code></td>
<td>Specifies the relationship between the current document and the linked document.</td>
</tr>
<tr>
<td><code>required</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, <code>&lt;textarea&gt;</code></td>
<td>Indicates that the user must fill out this field before submitting the form.</td>
</tr>
<tr>
<td><code>reversed</code></td>
<td><code>&lt;ol&gt;</code></td>
<td>Specifies that the list order should be reversed.</td>
</tr>
<tr>
<td><code>rows</code></td>
<td><code>&lt;textarea&gt;</code></td>
<td>Defines the number of visible rows in a text area.</td>
</tr>
<tr>
<td><code>rowspan</code></td>
<td><code>&lt;td&gt;</code>, <code>&lt;th&gt;</code></td>
<td>Specifies how many rows a table cell should span.</td>
</tr>
<tr>
<td><code>sandbox</code></td>
<td><code>&lt;iframe&gt;</code></td>
<td>Enables an extra set of restrictions for the content in an <code>&lt;iframe&gt;</code>.</td>
</tr>
<tr>
<td><code>scope</code></td>
<td><code>&lt;td&gt;</code>, <code>&lt;th&gt;</code></td>
<td>Specifies whether a header cell is a header for a row, column, or group of rows or columns.</td>
</tr>
<tr>
<td><code>selected</code></td>
<td><code>&lt;option&gt;</code></td>
<td>Specifies that an option should be pre-selected.</td>
</tr>
<tr>
<td><code>shape</code></td>
<td><code>&lt;area&gt;</code></td>
<td>Defines the shape of a clickable area in an image map.</td>
</tr>
<tr>
<td><code>size</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;select&gt;</code></td>
<td>Specifies the width of the element.</td>
</tr>
<tr>
<td><code>sizes</code></td>
<td><code>&lt;link&gt;</code></td>
<td>Specifies the size of the linked resource.</td>
</tr>
<tr>
<td><code>span</code></td>
<td><code>&lt;col&gt;</code></td>
<td>Defines the number of columns a column group should span.</td>
</tr>
<tr>
<td><code>spellcheck</code></td>
<td>Global Attributes</td>
<td>Specifies whether the element should be checked for spelling and grammar.</td>
</tr>
<tr>
<td><code>src</code></td>
<td><code>&lt;audio&gt;</code>, <code>&lt;embed&gt;</code>, <code>&lt;iframe&gt;</code>, <code>&lt;img&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;script&gt;</code>, <code>&lt;source&gt;</code>, <code>&lt;video&gt;</code></td>
<td>Specifies the URL of the media resource.</td>
</tr>
<tr>
<td><code>srcdoc</code></td>
<td><code>&lt;iframe&gt;</code></td>
<td>Specifies the HTML content to be displayed in an <code>&lt;iframe&gt;</code>.</td>
</tr>
<tr>
<td><code>srclang</code></td>
<td><code>&lt;track&gt;</code></td>
<td>Specifies the language of the track text data.</td>
</tr>
<tr>
<td><code>srcset</code></td>
<td><code>&lt;img&gt;</code>, <code>&lt;source&gt;</code></td>
<td>Defines a set of images to be used by the browser based on the screen size and resolution.</td>
</tr>
<tr>
<td><code>step</code></td>
<td><code>&lt;input&gt;</code></td>
<td>Specifies the legal number intervals for an input field.</td>
</tr>
<tr>
<td><code>summary</code></td>
<td><code>&lt;table&gt;</code></td>
<td>Provides a summary of the content of the table.</td>
</tr>
<tr>
<td><code>tabindex</code></td>
<td>All visible elements</td>
<td>Specifies the tab order of an element.</td>
</tr>
<tr>
<td><code>target</code></td>
<td><code>&lt;a&gt;</code>, <code>&lt;form&gt;</code>, <code>&lt;base&gt;</code></td>
<td>Specifies where to open the linked document or where to submit the form.</td>
</tr>
<tr>
<td><code>title</code></td>
<td>All visible elements</td>
<td>Provides additional information about an element (often shown as a tooltip).</td>
</tr>
<tr>
<td><code>type</code></td>
<td>All visible elements</td>
<td>Specifies the type of element or attribute, such as the type of an input or the type of a script.</td>
</tr>
<tr>
<td><code>usemap</code></td>
<td><code>&lt;img&gt;</code>, <code>&lt;object&gt;</code>, <code>&lt;input&gt;</code></td>
<td>Specifies an image map to be used with the <code>&lt;img&gt;</code>, <code>&lt;object&gt;</code>, or <code>&lt;input&gt;</code> element.</td>
</tr>
<tr>
<td><code>value</code></td>
<td><code>&lt;input&gt;</code>, <code>&lt;button&gt;</code>, <code>&lt;option&gt;</code>, <code>&lt;li&gt;</code></td>
<td>Specifies the value of an element.</td>
</tr>
<tr>
<td><code>width</code></td>
<td><code>&lt;img&gt;</code>, <code>&lt;input&gt;</code>, <code>&lt;iframe&gt;</code>, <code>&lt;video&gt;</code>, <code>&lt;canvas&gt;</code>, <code>&lt;embed&gt;</code></td>
<td>Specifies the width of an element.</td>
</tr>
<tr>
<td><code>wrap</code></td>
<td><code>&lt;textarea&gt;</code></td>
<td>Specifies how the text in a text area should be wrapped.</td>
</tr>
</tbody>
</table>
<p dir="auto">Feel free to ask if you need more details on any of these attributes!</p>
]]></description><link>https://community.secnto.com//topic/2616/html-attribute-reference</link><guid isPermaLink="true">https://community.secnto.com//topic/2616/html-attribute-reference</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>