HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

HTML

All HTML Tutorials, Quizzes & Exercises

HTML Intro
Welcome
HTML stands for HyperText Markup Language.A markup language uses tags to identify content. Its basic purpose is for the development of the web pages.
Web Structure
WEB STURCTURE HTML,CSS,JS,PHP,MYSQL PRHOCODING
HTML Intro Quiz
INTRO QUIZ
HTML INTRODCUTION QUIZ PRHOCODING
HTML Intro Exercise
INTRO EXERCISE
HTML INTRODUCTION EXERCISE PRHOCODING
HTML Basics
Headings
HTML Headings h1,h2,h3,h4,h5,h6 PRHOCIDNG
Horizontal Lines
Horizontal Row hr HTML PRHOCODING
Comments
HTML COMMENTS
The p Tag
P tag is used for paragrapgh purpose in html PRHOCIDNG
Line Break
Line break is used to break the content. Described as br
Multiple Line Breaks
We can use multiple line breaks in. It only purpose is to break the content into separate lines
Text Format
html allows us to format our text with different tags like b tag,strong tag,i tag,small tag,sub tag,sup tag,ins tag,del tag
Elements
HTML documents are made up of HTML elements. An HTML element is written using a start tag and an end tag, and with the content in between.
Attributes
Attributes provide additional information about an element or a tag, while also modifying them. Most attributes have a value; the value modifies the attribute.
Multiple Attributes
Attributes provide additional information about an element or a tag, while also modifying them. Most attributes have a value; the value modifies the attribute.
The img Tag
The img tag is used to insert an image. It contains only attributes, and does not have a closing tag. The image's URL (address) can be defined using the src attribute.
Ordered List
An ordered list starts with the ol tag, and each list item is defined by the li tag.
Unordered List
Unlike ordered list which stars with ol tag, unordered list starts with li tag.
Tables
Tables are defined by using the table tag. Tables are divided into table rows with the tr tag. Table rows are divided into table columns (table data) with the td tag.
Table Properties
colspan is the property which specifies how many td will it take.similarly, border will tell the actual border value of table
The a Tag
Links are also an integral part of every web page. You can add links to text or images that will enable the user to click on them in order to be directed to another file or webpage. In HTML, links are defined using the a tag.
Block Elements
In HTML, most elements are defined as block level. Block level elements start from a new line. For example: h1, form, li, ol, ul, p, pre, table, div
Inline Elements
Inline elements are those elements which dont start from a new line instead they continue moving to the same line
HTML Forms
HTML forms are used to collect information from the user. Forms are defined using the form element, with its opening and closing tags/
HTML Colors
HTML colors are expressed as hexadecimal values. Colors are displayed in combinations of red, green, and blue light (RGB). All of the possible red, green, and blue combinations potentially number over 16 million.
HTML Basic Quiz
BASIC QUIZ
In HTML Basic quiz, we tend to take the quiz of all the chapters which you have read in your basic tutorial section.
HTML Basic Exercise
BASIC EXERCISE
In html basic exercise, we take the question to our valuable users to answer them and learn from it.
HTML Advance
HTML5
HTML5 is the advance version of HTML. It introduces many new and popular tags which we are using nowadays.
HTML5 Content Model
In HTML, elements typically belonged in either the block level or inline content model. HTML5 introduces seven main content models.- Metadata - Embedded - Interactive - Heading - Phrasing - Flow - Sectioning
The header Tag
header tag is used for heading purposes. This tag was introduced in HTML5.
The footer Tag
Footer tag is used in bottom of a webpage and it contains crucial information regarding the website.
The nav Tag
The nav tag represents a section of a page that links to other pages or to certain sections within the page. This would be a section with navigation links.
The article Tag
Article tag is a self-contained, independent piece of content that can be used and distributed separately from the rest of the page or site. This could be a forum post, a magazine or newspaper article, a blog entry, a comment, an interactive widget or gadget, or any other independent piece of content.
The section Tag
section tag is a logical container of the page or article. Sections can be used to divide up content within an article.
The aside Tag
aside Tag is secondary or tangential content which could be considered separate from but indirectly related to the main content. This type of content is often represented in sidebars.
The audio Tag
The audio tag in HTML5 is used to embed audio into the webpage.
The video Tag
The video tag in HTML5 is used to embed video into the webpage.
The Progress Bar
The progress Tag provides the ability to create progress bars on the web. The progress element can be used within headings, paragraphs, or anywhere else in the body.
Web Storage
With HTML5 web storage, websites can store data on a user's local computer. Before HTML5, we had to use JavaScript cookies to achieve this functionality.
Geolocation API
In HTML5, the Geolocation API is used to obtain the user's geographical location. Geolocation is much more accurate for devices with GPS, like smartphones and the like.
Drag and Drop
The drag and drop feature lets you grab an object and drag it to a different location. To make an element draggable, just set the draggable attribute to true:
HTML5 SVG
SVG stands for Scalable Vector Graphics, and is used to draw shapes with HTML-style markup. It offers several methods for drawing paths, boxes, circles, text, and graphic images.
The Canvas Tag
The HTML canvas is used to draw graphics that include everything from simple lines to complex graphic objects.
HTML5 Forms
HTML5 brings many features and improvements to web form creation. There are new attributes and input types that were introduced to help create better experiences for web users.
HTML Advance Quiz
ADVANCE QUIZ
In html advance quiz,quiz related to advance elements like section, article, aside, footer, header, nav, audio, video, progressbar, geolocation, webstorage, SVG, canvasand HTML5 Forms
HTML Advance Exercise
ADVANCE EXERCISE
In html advance exercise test, questions related to advance elements like section, article, aside, footer, header, nav, audio, video, progressbar, geolocation, webstorage, SVG, canvasand HTML5 Forms are asked
HTML Tags List
HTML Comment Tag
HTML Comment Tag is used for commenting purpose and it will not show on the browser
DOCTYPE in HTML
All HTML documents must start with a declaration. It is an information to the browser about what document type to expect.
HTML a Tag
HTML a Tag defines a hyperlink, which is used to link from one page to another.
HTML abbr Tag
The abbr tag defines an abbreviation or an acronym, like HTML, CSS, Mr, Mrs
HTML acronym Tag
The acronym tag was used in HTML 4 to define an acronym.
HTML address Tag
The address tag defines the contact information for the author/owner of a document or an article.
HTML article Tag
The article tag specifies independent, self-contained content.
HTML aside Tag
The aside tag defines some content aside from the content it is placed in.
HTML audio Tag
The audio tag is used to embed sound content in a document, such as music or other audio streams.
HTML b Tag
The b tag specifies bold text without any extra importance.
HTML base Tag
The base tag specifies the base URL and/or target for all relative URLs in a document.
HTML bdi Tag
BDI stands for Bi-Directional Isolation. It is used to isolates a part of text that might be formatted in a different direction from other text outside it.
HTML bdo Tag
BDO stands for Bi-Directional Override. The bdo tag is used to override the current text direction.
HTML blockquote Tag
The blockquote tag specifies a section that is quoted from another source.
HTML body Tag
The body tag defines the document's body. It consists of all elements such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
HTML br Tag
The br tag inserts a single line break. It is useful for writing addresses or poems.
HTML button Tag
The button tag defines a clickable button. Inside a button element we can put text which will be displayed on the browser.
HTML canvas Tag
The canvas tag is used to draw graphics, on the fly, via JavaScript.
HTML caption Tag
The caption tag defines a table caption. The caption tag must be inserted immediately after the table tag.
HTML cite Tag
The cite tag defines the title of creative work like a book, poem, novel, painting, design, and many more similar things.
HTML code Tag
The code tag is used to define a piece of computer code. The content inside is displayed in the browser default monospace font.
HTML col Tag
The col tag specifies column properties for each column within a colgroup element.
HTML colgroup Tag
The colgroup tag specifies a group of one or more columns in a table for formatting. The colgroup tag is useful for applying styles to entire columns,
HTML data Tag
The data tag is used to add a machine-readable translation of a given content.
HTML datalist Tag
The datalist tag specifies a list of pre-defined options for an input element.
HTML dd Tag
The dd tag is used to describe a term/name in a description list.
HTML del Tag
The del tag defines text that has been deleted from a document. Browsers will usually strike a line through deleted text.
HTML details Tag
The details tag specifies additional details that the user can open and close on demand.
HTML dfn Tag
The dfn tag stands for the definition element, and it specifies a term that is going to be defined within the content.
HTML dialog Tag
The dialog tag defines a dialog box or sub-window.
HTML div Tag
The div tag defines a division or a section in an HTML document. It is used as a container.
HTML dl Tag
The dl tag is used to describe a description list. It is used in conjunction with dd(a description item) and dt(defines terms/names).
HTML dt Tag
The dt tag defines a term/name in a description list. It is used in conjunction with dd(a description item) and dl(defines description list).
HTML em Tag
The em tag is used to define emphasized text. The content inside is typically displayed in italic.
HTML embed Tag
The embed tag defines a container for an external resource, such as a web page, a picture, a media player, or a plug-in application.
HTML fieldset Tag
The fieldset tag is used to group related elements in a form. It draws a box around the related elements.
HTML figcaption Tag
The figcaption tag defines a caption for a figure element. It can be placed either at the start or end of figure element.
HTML figure Tag
The figure tag is self-contained content like photos, illustrations, diagrams, and many more similar things.
HTML footer Tag
The footer tag defines a footer for a document or section
HTML form Tag
The form tag is used to create an HTML form for user input.
HTML h1 - h6 Tags
The h1 to h6 tags are used to define HTML headings.h1 defines the most important heading. h6 defines the least important heading.
HTML head tag
The head tag is a container for metadata and is placed between the html tag and the body tag.
HTML header Tag
The header element represents a container for introductory content or a set of navigational links.
HTML hr Tag
The hr tag defines a thematic break in an HTML page. It is often displayed as horizontal rule.
HTML html Tag
The html tag represents the root of an HTML document. It is the container for all other HTML elements
HTML i Tag
The i tag defines a part of text in an alternate voice or mood. The content inside is typically displayed in italic.
HTML iframe Tag
The iframe tag is used to specify an inline frame. Its basic purpose is to embed another document in the current HTML document.
HTML img Tag
The img tag is used to embed an image in an HTML page.
HTML input Tag
The input tag specifies an input field where the user can enter data. It is a widely used element of the form element.
HTML ins Tag
The ins tag defines a text that has been inserted into a document. It is displayed by an underline.
HTML kbd Tag
The kbd tag is used to specify the keyboard input. The content inside it is displayed in monospace font.
HTML label Tag
The label tag defines a label for several input elements. It helps in better understanding by the reader or user.
HTML legend Tag
The legend tag is used to define a caption for the fieldset element.
HTML li Tag
The li tag defines a list item. It is used in ordered list(ol) , unordered list(ul), and menu tag.
HTML link Tag
The link tag is used to define relationship between the current document and an external resource.
HTML main Tag
The main tag specifies the main content of a document. It is the most important part where the user sees everything he wishes for.
HTML mark Tag
The mark tag indicates that the text should be marked or highlighted.
HTML meta Tag
The meta tag defines metadata about an HTML document. It is information related to document data.
HTML meter Tag
The meter tag is used define a scalar measurement within a known range, or a fractional value.
HTML nav Tag
The nav tag defines a set of navigation links. It is intended only for a major block of navigation links.
HTML noscript Tag
The noscript tag defines an alternate content to be displayed to users that have disabled scripts in their browser or have a browser that does not support script.
HTML object Tag
The object tag defines a container for an external resource like a web page, a picture, a media player, or any application.
HTML ol Tag
The ol tag is used to define an ordered list. An ordered list can be numerical or alphabetical.
HTML optgroup Tag
The optgroup tag is used to group related options in a select element.
HTML option Tag
The option tag defines an option in a select list. option elements go inside a select, optgroup, or datalist element.
HTML output Tag
The output tag is used to represent the result of a calculation.
HTML p Tag
The p tag defines a paragraph. The browser automatically used a line break before and after the p ​​​​​​​tag.
HTML param Tag
The param tag is used to define parameters for an object element.
HTML picture Tag
The picture element contains two tags. One or more is source tags and one img tag.
HTML pre Tag
The pre tag defines preformatted text. Text is displayed in a fixed-width font, and it preserves both spaces and line breaks
HTML progress Tag
The progress tag represents the completion progress of a task. We used it with the JavaScript.
HTML q Tag
The q tag defines a short quotation. Normally, browsers insert quotation marks around the quotation.
HTML ruby Tag
The ruby tag is used to provide parentheses around a ruby text for those browsers that do not support ruby annotations.
HTML s Tag
The s tag defines a text that is no longer correct, accurate or relevant. The text will be displayed with a line through it.
HTML samp Tag
The samp tag is used to specify sample output from a computer program.
HTML script Tag
The script tag is used to embed a client-side script. It either contains scripting statements or points to external script file.
HTML section Tag
The section tag defines a section in a document.
HTML select Tag
The select element is used to create a drop-down list. It is mostly used in form element.
HTML small Tag
The small tag defines smaller text like comments, links, copyright, and many similar things.
HTML source Tag
The source tag is used to specify multiple media resources for media elements, such as video, audio, and picture.
HTML span Tag
The span tag is an inline container and is used to mark up or style a part of a text, or a part of a document.
HTML strong Tag
The strong tag is used to specify text with strong importance. Typically, it is displayed in bold text.
HTML style Tag
The style tag is used for styling the document. Inside it, we specify how HTML elements will be shown on the webpage or in other words rendered in the browser.
HTML sub Tag
The sub tag defines subscript text. Text display in sub tag is half a character below the normal line and is sometimes rendered in a smaller font.
HTML summary Tag
The summary tag defines a visible heading for the details element. The heading can be clicked to view/hide the details.
HTML sup Tag
The sup tag defines superscript text. Text display in sup tag is half a character above the normal line and is sometimes rendered in a smaller font.
HTML svg Tag
The svg tag defines a container for SVG graphics. It has several methods for drawing circles, boxes, text, and many more graphic-related things.
HTML table Tag
The table tag defines an HTML table. It consists of one table tag with multiple tr, th, and td tags. It also has thead and tbody tags.
HTML tbody Tag
The tbody tag is used to group the body content in an HTML table. It is used in combination of thead and tfoot. tbody must have at least one tr tag.
HTML td Tag
The td tag defines a standard data cell in an HTML table.
HTML template Tag
The template tag is used as a container to hold HTML content that is hidden from the user by default. The content inside it can be rendered later with JavaScript.
HTML textarea Tag
The textarea tag is a multi-line text input control. It is used in a form which collect user input like comments or reviews.
HTML tfoot Tag
The tfoot tag is used to group the footer content in an HTML table. It is used in combination of thead and tbody. tfoot must have at least one tr tag.
HTML th Tag
The th tag defines a header data cell in an HTML table.
HTML thead Tag
The thead tag is used to group the header content in an HTML table. It is used in combination of tbody and tfoot. thead must have at least one tr tag.
HTML time Tag
The time tag defines a specific time. Its datetime attribute translates the time into a machine-readable format.
HTML title Tag
The title tag defines the title of the document. It is required in HTML documents.
HTML tr Tag
The tr tag defines a row in an HTML table. It contains more than one th and td.
HTML track Tag
The track tag specifies text tracks for audio or video elements. It is used to specify subtitles.
HTML u Tag
The u tag represents some text that is grammatically wrong and styled differently from normal text. The content inside is typically displayed with an underline.
HTML ul Tag
The ul tag is used to define an unordered list. An ordered list can be described with bullet points. We have to use li tags together with the ul tag.
HTML var Tag
The var tag is used to define a variable in programming or in a mathematical expression. Content is displayed in italic.
HTML video Tag
The video tag is used to embed video content in a document like a movie clip or other video streams.
HTML wbr Tag
The wbr stands for Word Break Opportunity. It specifies wherein a text it would be ok to add a line break.
HTML Global Attributes
accesskey Attribute
The accesskey attribute is used to define a shortcut key to activate/focus an element. Its value must be a single character (a letter or a digit).
class Attribute
The class attribute specifies one or more class names for an element. It is mostly used for CSS styling but some developers use it in JavaScript.
contenteditable Attribute
The contenteditable attribute decides whether the content of an element is editable or not.
data-* Attributes
The data-* attributes are used to store custom data private to the page or application.
dir Attribute
The dir attribute defines the text direction of the elements content.
draggable Attributes
The draggable attribute defines whether an element is draggable or not. It is used in combination with drag and drop operations.
hidden Attribute
The hidden attribute is a boolean attribute. When present, it specifies that an element is no longer required or relevant to the document.
id Attribute
The id attribute specifies a unique id for an HTML element. It is mostly used for CSS Styling and JavaScript DOM manipulations. 
lang Attribute
The lang attribute is used to define the language of the content of the element. Its common example is en for simple English, en-US for USA English, and es for Spanish.
spellcheck Attribute
The spellcheck attribute specifies whether the element is to have its spelling and grammar checked or not.
style Attribute
The style attribute defines an inline styling for an element. It will override any style set globally.
tabindex Attribute
The tabindex attribute defines the tab order of an element when the tab button is used for navigating. The tabindex attribute can be used on any HTML element
title Attribute
The title attribute is used to define a piece of extra information about an element.
translate Attribute
The translate attribute is used to specify whether the content of an element should be translated or not.
HTML Attributes
HTML list Attribute
The list attribute is used to refer to a datalist element that contains pre-defined options for an input element.
HTML loop Attribute
The loop attribute is a boolean attribute. It specifies that the media will start over again, every time it is finished.
HTML low Attribute
The low attribute is used to define the range where the gauge value is considered to be a low value.
HTML max Attribute
The max attribute is used to specify the maximum value of the element.
HTML maxlength Attribute
The maxlength attribute is used to define the maximum number of characters allowed in the element.
HTML media Attribute
The media attribute is used to specify what media/device the linked document is optimized for.
HTML method Attribute
The method attribute specifies how to send form data.
HTML min Attribute
The min attribute is used to specify the minimum value of an element.
HTML multiple Attribute
The multiple attributes is a boolean attribute. It allows entering/selecting multiple values when present on any attribute.
HTML muted Attribute
The muted attribute is a boolean attribute. When present, it defines that the audio output of the video should be muted.
HTML name Attribute
The name attribute specifies a name for an HTML element.
HTML novalidate Attribute
The novalidate attribute is a boolean attribute. It specifies that the form data should not be validated when submitted.
HTML onabort Attribute
The onabort attribute is used to specify a script to be run if the loading of the media file aborts.
HTML onafterprint Attribute
The onafterprint attribute fires when a page has started printing, or if the print dialogue box has been closed.
HTML onbeforeprint Attribute
The onbeforeprint attribute fires when a page is about to be printed. It is used in combination with the onafterprint attribute.
HTML onbeforeunload Attribute
The onbeforeunload event fires when the document is about to be unloaded.
HTML onblur Attribute
The onblur attribute fires the moment that the element loses focus. Onblur is most often used with form validation code.
HTML oncanplay Attribute
The oncanplay attribute defines a script to run when the browser can start playing the specified media
HTML onchange Attribute
The onchange attribute fires the moment when the value of the element is changed.
HTML oncanplaythrough Attribute
The oncanplaythrough event occurs when the browser estimates that it can play through the specified audio/video without having to stop for buffering.
HTML onclick Attribute
The onclick attribute fires on a mouse click on the element.
HTML oncontextmenu Attribute
The oncontextmenu attribute fires when the user right-clicks on an element to open the context menu.
HTML oncopy Attribute
The oncopy attribute fires when the user copies the content of an element. It is mostly used with input element.
HTML oncuechange Attribute
The oncuechange attribute is used to define a script to run when the cue changes in a track element.
HTML oncut Attribute
The oncut attribute fires when the user cuts the content of an element. It is mostly used with the input element.
HTML ondblclick Attribute
The ondblclick attribute fires on a mouse double-click on the element.
HTML ondrag Attribute
The ondrag attribute fires when an element or text selection is being dragged. Links are draggable by default similar to images.
HTML ondragend Attribute
The ondragend attribute fires when the user has finished dragging an element or text selection.
HTML ondragenter Attribute
The ondragenter attribute fires when a draggable element or text selection enters a valid drop target.
HTML ondragleave Attribute
The ondragleave attribute fires when a draggable element or text selection leaves a valid drop target.
HTML ondragover Attribute
The ondragover attribute fires when a draggable element or text selection is being dragged over a valid drop target.
HTML ondragstart Attribute
The ondragstart attribute fires when the user starts to drag an element or text selection.
HTML ondrop Attribute
The ondrop attribute fires when a draggable element or text selection is dropped on a valid drop target.
HTML ondurationchange Attribute
The durationchange event occurs when the duration data of the specified audio/video is changed.
HTML onemptied Attribute
The onempties ​​​​​​​fired when the current playlist is empty.
HTML onended Attribute
The onended event occurs when the audio/video has reached the end. It allows us to send useful messages to the users.
HTML onerror Attribute
The error event occurs when an error occurred during the loading of a media file.
HTML onfocus Attribute
The onfocus attribute fires the moment that the element gets focus. It is mostly used on input and select elements.
HTML onhashchange Attribute
The onhashchange attribute fires when there has been changes to the anchor part of current URL.
HTML oninput Attribute
The oninput attribute fires when an element gets user input. The oninput event fires when the value of an input or textarea element is changed.
HTML oninvalid Attribute
The oninvalid event occurs when a submittable input element is invalid
HTML onkeydown Attribute
The onkeydown attribute fires when the user is pressing a key.
HTML onkeypress Attribute
The onkeypress attribute fires when the user presses a key.
HTML onkeyup Attribute
The onkeyup attribute fires when the user releases a key.
HTML onload Attribute
The onload attribute fires when an object has been loaded.
HTML onloadeddata Attribute
The loadeddata event occurs when data for the current frame is loaded, but not enough data to play the next frame of the specified media i.e., audio or video.
HTML onloadedmetadata Attribute
The loadedmetadata event occurs when metadata for the specified audio or video has been loaded. The metadata consists of duration and text tracks.
HTML onloadstart Attribute
The onloadstart event occurs when the browser starts looking at audio or video. This is when the loading process starts.
HTML onmousedown Attribute
The onmousedown attribute fires when a mouse button is pressed down on the element.
HTML onmousemove Attribute
The onmousemove attribute fires when the pointer is moving while it is over an element.
HTML onmouseout Attribute
The onmouseout attribute fires when the mouse pointer moves out of an element.
HTML onmouseover Attribute
The onmouseover attribute fires when the mouse pointer moves over an element. It is mostly used with onmouseout event.
HTML onmouseup Attribute
The onmouseup attribute fires when a mouse button is released over the element.
HTML onoffline Attribute
The onoffline attribute fires when the browser starts to work offline. It is similar to but opposite of ononline attribute.
HTML ononline Attribute
The ononline attribute fires when the browser starts to work online.
HTML onpageshow Attribute
The onpageshow event occurs when a user navigates to a webpage.
HTML onpaste Attribute
The onpaste attribute fires when the user pastes some content in an element. It is widely used with input type text.
HTML onpause Attribute
The onpause attribute is used to define a script to be run when the audio or video is paused either programmatically or by the user.
HTML onplay Attribute
The onplay attribute defines a script to be run when the audio or video is just started or is no longer paused.
HTML onplaying Attribute
The onplaying attributes are used to define a script to run when the audio or video has started playing.
HTML onprogress Attribute
The onprogress attribute is used to define a script that is to be run when the browser is downloading the specified audio or video.
HTML autoplay attribute
HTML autoplay attribute is a boolean attribute that tells the browser whether to start audio or video when it is ready for play.
HTML onratechange Attribute
The onratechange attribute defines a script to be run when the playing speed of the audio or video is changed.
HTML formaction Attribute
HTML formaction attribute is used to decide where to send form-data once a form is submitted.
HTML onreset Attribute
The onreset attribute fires when a form is reset. It is only applied to form element.
HTML onresize Attribute
The onresize attribute fires when the browser window is resized. It is used only on the body element.
HTML onscroll Attribute
The onscroll attribute fires when an element scrollbar is being scrolled. It can be applied to all HTML Elements.
HTML onsearch Attribute
The onsearch attribute fires when a user presses the ENTER key or clicks the x button in an input element with type search.
HTML onseeked Attribute
The onseeked attribute is used to define a script to run when the user is finished moving or skipping to a new position in the audio or video.
HTML onseeking Attribute
The onseeking attribute defines a script to run when the user starts moving or skipping to a new position in the audio or video.
HTML onselect Attribute
The onselect attribute fires after some text has been selected in an element.
HTML onstalled Attribute
The onstalled attribute is used to define a script to run when the browser is trying to get media data but it is not available.
HTML onsubmit Attribute
The onsubmit attribute fires when a form is submitted. It only works with the form element.
HTML onsuspend Attribute
The onsuspend attribute is used to define a script to run when the browser is intentionally not getting media data.
HTML ontimeupdate Attribute
The ontimeupdate attribute is used to define a script to run when the playing position of an audio or video has changed.
HTML ontoggle Attribute
The ontoggle attribute fires when the user opens or closes a details element. The details element actually specifies additional details for the user so that she/he can view or hide that information.
HTML onunload Attribute
The onunload attribute fires once a page has unloaded. In other words, the browser window is closed.
HTML onvolumechange Attribute
The onvolumechange attribute is used to define a script to run each time the volume of a video or audio is changed.
HTML onwaiting Attribute
The onwaiting attribute is used to define a script to run when the video stops because it needs to buffer the next frame
HTML onwheel Attribute
The onwheel attribute fires when the wheel of a pointing device is rolled up or down over an element.
HTML open Attribute
The open attribute is a boolean attribute. It specifies that the details element should be open by default when present.
HTML optimum Attribute
The optimum attribute is used to specify the range where the gauge value is considered to be an optimal value.
HTML pattern Attribute
The pattern attribute specifies a regular expression that the input element value is checked against.
HTML placeholder Attribute
The placeholder attribute is used to specify a short hint that describes the expected value for the given input field or textarea.
HTML poster Attribute
The poster attribute is used to specify an image to be shown while the video is downloading, or until the user hits the play button.
HTML preload Attribute
The preload attribute is used to specify if and how the author thinks that the media file should be loaded when the page loads.
HTML readonly Attribute
The readonly attribute is a boolean attribute. It specifies that an input field or textarea is read-only when readonly attribute is present.
HTML rel Attribute
The rel attribute is used to specify the relationship between the current document and the linked document.
HTML required Attribute
The required attribute is a boolean attribute. It specifies that the element must be filled out before submitting the form when required attribute is present.
HTML reversed Attribute
The reversed attribute is a boolean attribute. It specifies that the list order should be descending instead of ascending when reversed attribute is present.
HTML rows Attribute
The rows attribute specifies the visible height of a text area, in lines. We can also specify it with the CSS properties.
HTML rowspan Attribute
The rowspan attribute specifies the number of rows a cell should span.
HTML sandbox Attribute
The sandbox attribute enables an extra set of restrictions for the content in an iframe.
HTML scope Attribute
The scope attribute is used to specify whether a header cell is a header for a column, row, or group of columns or rows.
HTML selected Attribute
The selected attribute is a boolean attribute. It specifies that an option should be pre-selected when the page loads when the selected attribute is present.
HTML shape Attribute
The shape attribute specifies the shape of an area element. When used together with the coords attribute to specify the size, shape, and placement of an area element.
HTML size Attribute
The size attribute is used to specify the visible width, in characters, for input element and the number of visible options in the drop-down list.
HTML sizes Attribute
The sizes attribute is used to specify the sizes of icons for visual media. It is only used with rel=icon. It works only in link element.
HTML span Attribute
The span attribute is used to define the number of columns a col element or colgroup element should span.
HTML src Attribute
The src attribute is used to specify the location (URL) of the external resource.
HTML srcdoc Attribute
The srcdoc attribute is used to specify the HTML content of the page to show in the inline frame.
HTML srclang Attribute
The srclang attribute defines the language of the track text data. This attribute is required if kind attribute is set to subtitles.
HTML srcset Attribute
The srcset attribute is used to specify the URL of the image to use in different situations like the screen width changes.
HTML start Attribute
The start attribute specifies the start value of the first list item in an ordered list.
HTML step Attribute
The step attribute is used to specify the legal number intervals for an input element.
HTML style Attribute
The style attribute is used to specify an inline style for an element. The style attribute will override any style set globally or in an external style sheet.
HTML target Attribute
The tabindex attribute is used to specify the tab order of an element.
HTML type Attribute
For input elements, the type attribute is used to specify the type of input element to display.
HTML usemap Attribute
The usemap attribute is used to specify an image as an image map i.e, has clickable areas.
HTML value Attribute
The value attribute is used to specify the initial value For button, input, and option elements.
HTML width Attribute
The width attribute is used to specify the width of the element in pixels.
HTML wrap Attribute
The wrap attribute is used to specify how the text in a textarea element is wrapped when submitted in a form.
HTML accept Attribute
The accept attribute specifies the types of files that the server accepts
HTML accept-charset Attribute
The accept-charset attribute is used to specify the character encodings that are to be used for the form submission.
HTML action Attribute
The action attribute specifies where to send the form data when a form is submitted.
HTML alt Attribute
The alt attribute is used to provide the alternative information for an image, area, input tags if a user for some reason cannot view it 
HTML async Attribute
The async attribute is a boolean attribute. When present, it specifies that the script will be executed asynchronously as soon as it is available.
HTML autocomplete Attribute
The autocomplete attribute is used to specify whether a form or an input field should have to autocomplete on or off. It allows the browser to predict value.
HTML autofocus Attribute
The autofocus attribute is a Boolean attribute. When present, it specifies that the element should automatically get focused when the page loads.
HTML charset Attribute
The charset attribute specifies the character encoding for the HTML document and external javascript file.
HTML checked Attribute
The checked attribute is a boolean attribute.It specifies that an input element should be pre-selected on page load when present in that input. 
HTML cite Attribute
The cite attribute defines a URL in a document that explains the quote, or why the text was put in the first place.
HTML cols Attribute
The cols attribute specifies the visible width of a text area.
HTML colspan Attribute
The colspan attribute is used to specify the number of columns a table cell should span.
HTML content Attribute
The content attribute gives the value associated with the http-equiv or name attribute.
HTML controls Attribute
The controls attribute is a boolean attribute.When present, it specifies that audio/video controls should be displayed.
HTML coords Attribute
The coords attribute specifies the coordinates of an area in an image map.
HTML data Attribute
The data attribute specifies the URL of the resource to be used by the object.
HTML datetime Attribute
The datetime attribute is used to define the date and time when the text was deleted/inserted.
HTML default Attribute
The default attribute is a boolean attribute. When present, it specifies that the track is to be enabled if the user does not choose another track over it.
HTML defer Attribute
The defer attribute is a boolean attribute. When present, it specifies that the script is executed when the page has finished parsing.
HTML dirname Attribute
The dirname attribute allows the submission of the text direction of the input field or textarea.
HTML disabled Attribute
The disabled attribute is a boolean attribute. When present, it specifies that the element is disabled and we cannot use it.
HTML download Attribute
The download attribute specifies that the target will be downloaded when a user clicks on the hyperlink.
HTML enctype Attribute
The enctype attribute specifies how the form data should be encoded when submitting it to the server.
HTML for Attribute
for is used with label element and output element.
HTML form Attribute
The form attribute is used to specify the form the element belongs to. Its value must be equal to the id attribute of a form element in the same document.
HTML headers Attribute
The headers attribute specifies one or more header cells to a table cell.
HTML height Attribute
The height attribute is used to define the height of the element, in pixels.
HTML high Attribute
The high attribute is used to define the range where the gauge value is considered to be a high value.
HTML href Attribute
The href attribute specifies different properties for different tags. It is used in the following elements:- a, area, base, and link tags
HTML hreflang Attribute
The hreflang attribute is used to specify the language of the linked document.
HTML http-equiv Attribute
The http-equiv attribute provides an HTTP header for the information/value of the content attribute.
HTML ismap Attribute
The ismap attribute is a boolean attribute. When present, it specifies that the image is part of a server-side image map that has clickable areas.
HTML kind Attribute
The kind attribute is used to specify the kind of text track.
HTML label Attribute
The label attribute is used to define the title of the text track. It is used by the browser when listing all available text tracks of the current video.
FAQs
What is HTML?
HTML stands for Hypertext Markup Language. It is the standard document markup language for creating web pages.
What is a Tag in HTML?
HTML Tags are basically used to set content and format of the HTML pages.
What is the key difference between HTML Elements and Tags?
HTML elements are anything like paragraphs, heading, images, etc, and have a certain way of execution.
Which HTML tags will we use to display data in tabular form?​​​​​​​
We can display data in tabular form by using a table tag.
What are Attributes in HTML?
HTML Attribute is used to change or alter the behavior of the tag. We can define it inside the tag.
What is an Anchor tag in HTML?
An anchor tag is basically used for linking two web pages, sections, or website templates in HTML.
What are Lists in HTML?
HTML lists are basically used for grouping a set of related items in the form of lists.
What are Forms in HTML?
Forms are actually used for collecting the user information when the user fills them.
What is the Use of Comments in HTML?
Comments are actually used in all programming languages. However, in an HTML document, it is used to make important notes.
What is HTML5?
HTML5 is the latest and improved version of HTML. It is developed by the World Wide Web consortium.
What is Semantic HTML?
Semantic HTML is used for styling purposes. In it, tags are used for styling the content placed in between the opening and closing tags.
What is the purpose of Embed Tag in HTML?
HTML Embed Tag is used to include video or audio to an HTML Document.
What is a Marquee Tag in HTML?
We can say that an HTML marquee is a scrolling piece of text displayed either horizontally across or vertically down on a webpage.