{"id":6784,"date":"2016-06-14T08:56:04","date_gmt":"2016-06-14T03:26:04","guid":{"rendered":"http:\/\/www.cmscomputer.in\/blog\/?p=6784"},"modified":"2024-06-05T17:27:38","modified_gmt":"2024-06-05T11:57:38","slug":"html-tags-and-their-uses","status":"publish","type":"post","link":"https:\/\/www.cmscomputer.in\/blog\/html-tags-and-their-uses\/","title":{"rendered":"HTML Tags and their Uses"},"content":{"rendered":"<h3>Basic HTML<\/h3>\n<table width=\"819\">\n<tbody>\n<tr>\n<td width=\"138\"><strong>Tag<\/strong><\/td>\n<td width=\"681\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&lt;!DOCTYPE&gt;<\/td>\n<td>Defines the document type<\/td>\n<\/tr>\n<tr>\n<td>&lt;html&gt;<\/td>\n<td>Defines an HTML document<\/td>\n<\/tr>\n<tr>\n<td>&lt;title&gt;<\/td>\n<td>Defines a title for the document<\/td>\n<\/tr>\n<tr>\n<td>&lt;body&gt;<\/td>\n<td>Defines the document&#8217;s body<\/td>\n<\/tr>\n<tr>\n<td>&lt;h1&gt; to &lt;h6&gt;<\/td>\n<td>Defines HTML headings<\/td>\n<\/tr>\n<tr>\n<td>&lt;p&gt;<\/td>\n<td>Defines a paragraph<\/td>\n<\/tr>\n<tr>\n<td>&lt;br&gt;<\/td>\n<td>Inserts a single line break<\/td>\n<\/tr>\n<tr>\n<td>&lt;hr&gt;<\/td>\n<td>Defines a thematic change in the content<\/td>\n<\/tr>\n<tr>\n<td>&lt;!&#8211;&#8230;&#8211;&gt;<\/td>\n<td>Defines a comment<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Formatting<\/h3>\n<table width=\"819\">\n<tbody>\n<tr>\n<td width=\"138\"><strong>Tag<\/strong><\/td>\n<td width=\"681\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&lt;acronym&gt;<\/td>\n<td>Not supported in HTML5. Use &lt;abbr&gt; instead.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Defines an acronym<\/td>\n<\/tr>\n<tr>\n<td>&lt;abbr&gt;<\/td>\n<td>Defines an abbreviation or an acronym<\/td>\n<\/tr>\n<tr>\n<td>&lt;address&gt;<\/td>\n<td>Defines contact information for the author\/owner of a document\/article<\/td>\n<\/tr>\n<tr>\n<td>&lt;b&gt;<\/td>\n<td>Defines bold text<\/td>\n<\/tr>\n<tr>\n<td>&lt;bdi&gt;<\/td>\n<td>Isolates a part of text that might be formatted in a different direction from other text outside it<\/td>\n<\/tr>\n<tr>\n<td>&lt;bdo&gt;<\/td>\n<td>Overrides the current text direction<\/td>\n<\/tr>\n<tr>\n<td>&lt;big&gt;<\/td>\n<td>Not supported in HTML5. Use CSS instead.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Defines big text<\/td>\n<\/tr>\n<tr>\n<td>&lt;blockquote&gt;<\/td>\n<td>Defines a section that is quoted from another source<\/td>\n<\/tr>\n<tr>\n<td>&lt;center&gt;<\/td>\n<td>Not supported in HTML5. Use CSS instead.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Defines centered text<\/td>\n<\/tr>\n<tr>\n<td>&lt;cite&gt;<\/td>\n<td>Defines the title of a work<\/td>\n<\/tr>\n<tr>\n<td>&lt;code&gt;<\/td>\n<td>Defines a piece of computer code<\/td>\n<\/tr>\n<tr>\n<td>&lt;del&gt;<\/td>\n<td>Defines text that has been deleted from a document<\/td>\n<\/tr>\n<tr>\n<td>&lt;dfn&gt;<\/td>\n<td>Represents the defining instance of a term<\/td>\n<\/tr>\n<tr>\n<td>&lt;em&gt;<\/td>\n<td>Defines emphasized text<\/td>\n<\/tr>\n<tr>\n<td>&lt;font&gt;<\/td>\n<td>Not supported in HTML5. Use CSS instead.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Defines font, color, and size for text<\/td>\n<\/tr>\n<tr>\n<td>&lt;i&gt;<\/td>\n<td>Defines a part of text in an alternate voice or mood<\/td>\n<\/tr>\n<tr>\n<td>&lt;ins&gt;<\/td>\n<td>Defines a text that has been inserted into a document<\/td>\n<\/tr>\n<tr>\n<td>&lt;kbd&gt;<\/td>\n<td>Defines keyboard input<\/td>\n<\/tr>\n<tr>\n<td>&lt;mark&gt;<\/td>\n<td>Defines marked\/highlighted text<\/td>\n<\/tr>\n<tr>\n<td>&lt;meter&gt;<\/td>\n<td>Defines a scalar measurement within a known range (a gauge)<\/td>\n<\/tr>\n<tr>\n<td>&lt;pre&gt;<\/td>\n<td>Defines preformatted text<\/td>\n<\/tr>\n<tr>\n<td>&lt;progress&gt;<\/td>\n<td>Represents the progress of a task<\/td>\n<\/tr>\n<tr>\n<td>&lt;q&gt;<\/td>\n<td>Defines a short quotation<\/td>\n<\/tr>\n<tr>\n<td>&lt;rp&gt;<\/td>\n<td>Defines what to show in browsers that do not support ruby annotations<\/td>\n<\/tr>\n<tr>\n<td>&lt;rt&gt;<\/td>\n<td>Defines an explanation\/pronunciation of characters (for East Asian typography)<\/td>\n<\/tr>\n<tr>\n<td>&lt;ruby&gt;<\/td>\n<td>Defines a ruby annotation (for East Asian typography)<\/td>\n<\/tr>\n<tr>\n<td>&lt;s&gt;<\/td>\n<td>Defines text that is no longer correct<\/td>\n<\/tr>\n<tr>\n<td>&lt;samp&gt;<\/td>\n<td>Defines sample output from a computer program<\/td>\n<\/tr>\n<tr>\n<td>&lt;small&gt;<\/td>\n<td>Defines smaller text<\/td>\n<\/tr>\n<tr>\n<td>&lt;strike&gt;<\/td>\n<td>Not supported in HTML5. Use &lt;del&gt; or &lt;s&gt; instead.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Defines strikethrough text<\/td>\n<\/tr>\n<tr>\n<td>&lt;strong&gt;<\/td>\n<td>Defines important text<\/td>\n<\/tr>\n<tr>\n<td>&lt;sub&gt;<\/td>\n<td>Defines subscripted text<\/td>\n<\/tr>\n<tr>\n<td>&lt;sup&gt;<\/td>\n<td>Defines superscripted text<\/td>\n<\/tr>\n<tr>\n<td>&lt;time&gt;<\/td>\n<td>Defines a date\/time<\/td>\n<\/tr>\n<tr>\n<td>&lt;tt&gt;<\/td>\n<td>Not supported in HTML5. Use CSS instead.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Defines teletype text<\/td>\n<\/tr>\n<tr>\n<td>&lt;u&gt;<\/td>\n<td>Defines text that should be stylistically different from normal text<\/td>\n<\/tr>\n<tr>\n<td>&lt;var&gt;<\/td>\n<td>Defines a variable<\/td>\n<\/tr>\n<tr>\n<td>&lt;wbr&gt;<\/td>\n<td>Defines a possible line-break<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Forms and Input<\/h3>\n<table width=\"819\">\n<tbody>\n<tr>\n<td width=\"138\"><strong>Tag<\/strong><\/td>\n<td width=\"681\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&lt;form&gt;<\/td>\n<td>Defines an HTML form for user input<\/td>\n<\/tr>\n<tr>\n<td>&lt;input&gt;<\/td>\n<td>Defines an input control<\/td>\n<\/tr>\n<tr>\n<td>&lt;textarea&gt;<\/td>\n<td>Defines a multiline input control (text area)<\/td>\n<\/tr>\n<tr>\n<td>&lt;button&gt;<\/td>\n<td>Defines a clickable button<\/td>\n<\/tr>\n<tr>\n<td>&lt;select&gt;<\/td>\n<td>Defines a drop-down list<\/td>\n<\/tr>\n<tr>\n<td>&lt;optgroup&gt;<\/td>\n<td>Defines a group of related options in a drop-down list<\/td>\n<\/tr>\n<tr>\n<td>&lt;option&gt;<\/td>\n<td>Defines an option in a drop-down list<\/td>\n<\/tr>\n<tr>\n<td>&lt;label&gt;<\/td>\n<td>Defines a label\u00a0for an &lt;input&gt; element<\/td>\n<\/tr>\n<tr>\n<td>&lt;fieldset&gt;<\/td>\n<td>Groups related elements in a form<\/td>\n<\/tr>\n<tr>\n<td>&lt;legend&gt;<\/td>\n<td>Defines a caption for a &lt;fieldset&gt; element<\/td>\n<\/tr>\n<tr>\n<td>&lt;datalist&gt;<\/td>\n<td>Specifies a list of pre-defined options for input controls<\/td>\n<\/tr>\n<tr>\n<td>&lt;keygen&gt;<\/td>\n<td>Defines a key-pair generator field (for forms)<\/td>\n<\/tr>\n<tr>\n<td>&lt;output&gt;<\/td>\n<td>Defines the result of a calculation<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Frames<\/h3>\n<table width=\"819\">\n<tbody>\n<tr>\n<td width=\"138\"><strong>Tag<\/strong><\/td>\n<td width=\"681\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&lt;frame&gt;<\/td>\n<td>Not supported in HTML5.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Defines a window (a frame) in a frameset<\/td>\n<\/tr>\n<tr>\n<td>&lt;frameset&gt;<\/td>\n<td>Not supported in HTML5.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Defines a set of frames<\/td>\n<\/tr>\n<tr>\n<td>&lt;noframes&gt;<\/td>\n<td>Not supported in HTML5.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Defines an alternate content for users that do not support frames<\/td>\n<\/tr>\n<tr>\n<td>&lt;iframe&gt;<\/td>\n<td>Defines an inline frame<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Images<\/h3>\n<table width=\"819\">\n<tbody>\n<tr>\n<td width=\"138\"><strong>Tag<\/strong><\/td>\n<td width=\"681\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&lt;img&gt;<\/td>\n<td>Defines an image<\/td>\n<\/tr>\n<tr>\n<td>&lt;map&gt;<\/td>\n<td>Defines a client-side image-map<\/td>\n<\/tr>\n<tr>\n<td>&lt;area&gt;<\/td>\n<td>Defines an area inside an image-map<\/td>\n<\/tr>\n<tr>\n<td>&lt;canvas&gt;<\/td>\n<td>Used to draw graphics, on the fly, via scripting (usually JavaScript)<\/td>\n<\/tr>\n<tr>\n<td>&lt;figcaption&gt;<\/td>\n<td>Defines a caption for a &lt;figure&gt; element<\/td>\n<\/tr>\n<tr>\n<td>&lt;figure&gt;<\/td>\n<td>Specifies self-contained content<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Audio \/ Video<\/h3>\n<table width=\"819\">\n<tbody>\n<tr>\n<td width=\"138\"><strong>Tag<\/strong><\/td>\n<td width=\"681\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&lt;audio&gt;<\/td>\n<td>Defines sound content<\/td>\n<\/tr>\n<tr>\n<td>&lt;source&gt;<\/td>\n<td>Defines multiple media resources for media elements (&lt;video&gt; and &lt;audio&gt;)<\/td>\n<\/tr>\n<tr>\n<td>&lt;track&gt;<\/td>\n<td>Defines text tracks for media elements (&lt;video&gt; and &lt;audio&gt;)<\/td>\n<\/tr>\n<tr>\n<td>&lt;video&gt;<\/td>\n<td>Defines a video or movie<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Links<\/h3>\n<table width=\"819\">\n<tbody>\n<tr>\n<td width=\"138\"><strong>Tag<\/strong><\/td>\n<td width=\"681\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&lt;a&gt;<\/td>\n<td>Defines a hyperlink<\/td>\n<\/tr>\n<tr>\n<td>&lt;link&gt;<\/td>\n<td>Defines the relationship between a document and an external resource (most used to link to style sheets)<\/td>\n<\/tr>\n<tr>\n<td>&lt;nav&gt;<\/td>\n<td>Defines navigation links<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Lists<\/h3>\n<table width=\"819\">\n<tbody>\n<tr>\n<td width=\"138\"><strong>Tag<\/strong><\/td>\n<td width=\"681\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&lt;ul&gt;<\/td>\n<td>Defines an unordered list<\/td>\n<\/tr>\n<tr>\n<td>&lt;ol&gt;<\/td>\n<td>Defines an ordered list<\/td>\n<\/tr>\n<tr>\n<td>&lt;li&gt;<\/td>\n<td>Defines a list item<\/td>\n<\/tr>\n<tr>\n<td>&lt;dir&gt;<\/td>\n<td>Not supported in HTML5. Use &lt;ul&gt; instead.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Defines a directory list<\/td>\n<\/tr>\n<tr>\n<td>&lt;dl&gt;<\/td>\n<td>Defines a description list<\/td>\n<\/tr>\n<tr>\n<td>&lt;dt&gt;<\/td>\n<td>Defines a term\/name in a description list<\/td>\n<\/tr>\n<tr>\n<td>&lt;dd&gt;<\/td>\n<td>Defines a description of a term\/name in a description list<\/td>\n<\/tr>\n<tr>\n<td>&lt;menu&gt;<\/td>\n<td>Defines a list\/menu of commands<\/td>\n<\/tr>\n<tr>\n<td>&lt;menuitem&gt;<\/td>\n<td>Defines a command\/menu item that the user can invoke from a popup menu<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Tables<\/h3>\n<table width=\"819\">\n<tbody>\n<tr>\n<td width=\"138\"><strong>Tag<\/strong><\/td>\n<td width=\"681\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&lt;table&gt;<\/td>\n<td>Defines a table<\/td>\n<\/tr>\n<tr>\n<td>&lt;caption&gt;<\/td>\n<td>Defines a table caption<\/td>\n<\/tr>\n<tr>\n<td>&lt;th&gt;<\/td>\n<td>Defines a header cell in a table<\/td>\n<\/tr>\n<tr>\n<td>&lt;tr&gt;<\/td>\n<td>Defines a row in a table<\/td>\n<\/tr>\n<tr>\n<td>&lt;td&gt;<\/td>\n<td>Defines a cell in a table<\/td>\n<\/tr>\n<tr>\n<td>&lt;thead&gt;<\/td>\n<td>Groups the header content in a table<\/td>\n<\/tr>\n<tr>\n<td>&lt;tbody&gt;<\/td>\n<td>Groups the body content in a table<\/td>\n<\/tr>\n<tr>\n<td>&lt;tfoot&gt;<\/td>\n<td>Groups the footer content in a table<\/td>\n<\/tr>\n<tr>\n<td>&lt;col&gt;<\/td>\n<td>Specifies column properties for each column within a &lt;colgroup&gt; element<\/td>\n<\/tr>\n<tr>\n<td>&lt;colgroup&gt;<\/td>\n<td>Specifies a group of one or more columns in a table for formatting<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Styles and Semantics<\/h3>\n<table width=\"819\">\n<tbody>\n<tr>\n<td width=\"138\"><strong>Tag<\/strong><\/td>\n<td width=\"681\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&lt;style&gt;<\/td>\n<td>Defines style information for a document<\/td>\n<\/tr>\n<tr>\n<td>&lt;div&gt;<\/td>\n<td>Defines a section in a document<\/td>\n<\/tr>\n<tr>\n<td>&lt;span&gt;<\/td>\n<td>Defines a section in a document<\/td>\n<\/tr>\n<tr>\n<td>&lt;header&gt;<\/td>\n<td>Defines a header for a document or section<\/td>\n<\/tr>\n<tr>\n<td>&lt;footer&gt;<\/td>\n<td>Defines a footer for a document or section<\/td>\n<\/tr>\n<tr>\n<td>&lt;main&gt;<\/td>\n<td>Specifies the main content of a document<\/td>\n<\/tr>\n<tr>\n<td>&lt;section&gt;<\/td>\n<td>Defines a section in a document<\/td>\n<\/tr>\n<tr>\n<td>&lt;article&gt;<\/td>\n<td>Defines an article<\/td>\n<\/tr>\n<tr>\n<td>&lt;aside&gt;<\/td>\n<td>Defines content aside from the page content<\/td>\n<\/tr>\n<tr>\n<td>&lt;details&gt;<\/td>\n<td>Defines additional details that the user can view or hide<\/td>\n<\/tr>\n<tr>\n<td>&lt;dialog&gt;<\/td>\n<td>Defines a dialog box or window<\/td>\n<\/tr>\n<tr>\n<td>&lt;summary&gt;<\/td>\n<td>Defines a visible heading for a &lt;details&gt; element<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Meta Info<\/h3>\n<table width=\"819\">\n<tbody>\n<tr>\n<td width=\"138\"><strong>Tag<\/strong><\/td>\n<td width=\"681\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&lt;head&gt;<\/td>\n<td>Defines information about the document<\/td>\n<\/tr>\n<tr>\n<td>&lt;meta&gt;<\/td>\n<td>Defines metadata about an HTML document<\/td>\n<\/tr>\n<tr>\n<td>&lt;base&gt;<\/td>\n<td>Specifies the base URL\/target for all relative URLs in a document<\/td>\n<\/tr>\n<tr>\n<td>&lt;basefont&gt;<\/td>\n<td>Not supported in HTML5. Use CSS instead.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Specifies a default color, size, and font for all text in a document<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Programming<\/h3>\n<table width=\"819\">\n<tbody>\n<tr>\n<td width=\"138\"><strong>Tag<\/strong><\/td>\n<td width=\"681\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&lt;script&gt;<\/td>\n<td>Defines a client-side script<\/td>\n<\/tr>\n<tr>\n<td>&lt;noscript&gt;<\/td>\n<td>Defines an alternate content for users that do not support client-side scripts<\/td>\n<\/tr>\n<tr>\n<td>&lt;applet&gt;<\/td>\n<td>Not supported in HTML5. Use &lt;embed&gt; or &lt;object&gt; instead.<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>Defines an embedded applet<\/td>\n<\/tr>\n<tr>\n<td>&lt;embed&gt;<\/td>\n<td>Defines a container for an external (non-HTML) application<\/td>\n<\/tr>\n<tr>\n<td>&lt;object&gt;<\/td>\n<td>Defines an embedded object<\/td>\n<\/tr>\n<tr>\n<td>&lt;param&gt;<\/td>\n<td>Defines a parameter for an object<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Basic HTML Tag Description &lt;!DOCTYPE&gt; Defines the document type &lt;html&gt; Defines an HTML document &lt;title&gt; Defines a title for the document &lt;body&gt; Defines the document&#8217;s body &lt;h1&gt; to &lt;h6&gt; Defines HTML headings &lt;p&gt; Defines a paragraph &lt;br&gt; Inserts a single line break &lt;hr&gt; Defines a thematic change in the content<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_joinchat":[],"footnotes":""},"categories":[1,7],"tags":[728,592,726,36,727,724,733,730,732,731,722,725,721,734,729,723],"class_list":["post-6784","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-web-technologies","tag-beginner-coding","tag-coding","tag-front-end-development","tag-html","tag-html-basics","tag-html-elements","tag-html-semantics","tag-html-structure","tag-html-syntax","tag-html-tutorial","tag-markup-language","tag-web-design","tag-web-development","tag-web-development-tools","tag-web-programming","tag-website-design"],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.cmscomputer.in\/blog\/wp-json\/wp\/v2\/posts\/6784"}],"collection":[{"href":"https:\/\/www.cmscomputer.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cmscomputer.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cmscomputer.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cmscomputer.in\/blog\/wp-json\/wp\/v2\/comments?post=6784"}],"version-history":[{"count":1,"href":"https:\/\/www.cmscomputer.in\/blog\/wp-json\/wp\/v2\/posts\/6784\/revisions"}],"predecessor-version":[{"id":6785,"href":"https:\/\/www.cmscomputer.in\/blog\/wp-json\/wp\/v2\/posts\/6784\/revisions\/6785"}],"wp:attachment":[{"href":"https:\/\/www.cmscomputer.in\/blog\/wp-json\/wp\/v2\/media?parent=6784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cmscomputer.in\/blog\/wp-json\/wp\/v2\/categories?post=6784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cmscomputer.in\/blog\/wp-json\/wp\/v2\/tags?post=6784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}