{"id":1189,"date":"2021-12-22T19:24:30","date_gmt":"2021-12-22T19:24:30","guid":{"rendered":"https:\/\/swatilathia.wordpress.com\/?page_id=1189"},"modified":"2025-07-31T06:50:13","modified_gmt":"2025-07-31T06:50:13","slug":"html-5","status":"publish","type":"page","link":"https:\/\/swatilathia.com\/?page_id=1189","title":{"rendered":"HTML 5"},"content":{"rendered":"<body>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e1f40d33adf\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69e1f40d33adf\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Introduction\" >Introduction<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Document_Structure\" >Document Structure<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Attributes\" >Attributes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#elements\" >&lt;Form&gt; elements<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Number_Control\" >Number Control<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Date_Control\" >Date Control<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Time_Control\" >Time Control<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Datetime-local_Control\" >Datetime-local Control<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Month_Control\" >Month Control<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Week_Control\" >Week Control<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Email_Control\" >Email Control<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Range_Control\" >Range Control<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#URL_Control\" >URL Control<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#%E2%80%93_The_Embed_Audio_element\" >&lt;audio&gt; \u2013 The Embed Audio element<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#%E2%80%93_The_Media_or_Image_Source_element\" >&lt;source&gt; \u2013 The Media or Image Source element<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#%E2%80%93_The_Video_Embed_element\" >&lt;video&gt; \u2013 The Video Embed element<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Canvas\" >Canvas<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Basic_Structure\" >Basic Structure<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#How_to_draw_on_a_canvas\" >How to draw on a canvas<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/swatilathia.com\/?page_id=1189\/#Use_of_Canvas\" >Use of Canvas<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"p1\"><span class=\"ez-toc-section\" id=\"Introduction\"><\/span><strong>Introduction<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size\">HTML5 is the latest and most extended version of HTML. Before learning HTML5, you should know HTML &amp; its tags.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>New Features<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">HTML5 introduces a number of new elements and attributes that can help you to develop modern &amp; advanced websites. Here is a set of some of the most important features introduced in HTML5.<\/p>\n\n\n\n<ol class=\"wp-block-list has-medium-font-size\">\n<li>&lt;header&gt;, &lt;footer&gt;, &lt;nav&gt;, &lt;section&gt; etc, are new semantic elements<\/li>\n\n\n\n<li>New attributes introduced in &lt;form&gt; tag like, type=\u201ddate\u201d , type=\u201dtime\u201d etc.<\/li>\n\n\n\n<li>HTML5 allows for dynamic, scriptable rendering of 2D shapes and bitmap images with the use of &lt;canvas&gt; element &amp; JavaScript.<\/li>\n\n\n\n<li>You can embed &lt;audio&gt; &amp; &lt;video&gt; element on your web page without any third party plugins<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"p2\"><span class=\"ez-toc-section\" id=\"Document_Structure\"><\/span><strong>Document Structure<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-medium-font-size\">HTML5 Document always starts with &lt;!DOCTYPE html&gt; which tells the browser that the document is of HTML5. Some main elements of HTML5 are as follows.<\/p>\n\n\n\n<ol class=\"wp-block-list has-medium-font-size\">\n<li><strong>&lt;section&gt;<\/strong>\u00a0\u2212 It defines a section in a document. It can be used together with &lt;h1&gt; to &lt;h6&gt; to indicate the document structure.<\/li>\n\n\n\n<li><strong>&lt;article&gt;<\/strong>\u00a0\u2212 It represents an independent piece of content of a document, such as a blog or newspaper article.<\/li>\n\n\n\n<li><strong>&lt;aside&gt;<\/strong>\u00a0\u2212 It defines a piece of content that is only slightly related to the rest of the page.<\/li>\n\n\n\n<li><strong>&lt;header&gt;<\/strong>\u00a0\u2212 It represents the header of a section.<\/li>\n\n\n\n<li><strong>&lt;footer&gt;<\/strong>\u00a0\u2212 It represents a footer for a section and can contain information about the author, copyright information, etc.<\/li>\n\n\n\n<li><strong>&lt;nav&gt;<\/strong>\u00a0\u2212 It represents a section of the document intended for navigation.<\/li>\n\n\n\n<li><strong>&lt;dialog&gt;<\/strong>\u00a0\u2212 \u00a0It\u00a0defines a\u00a0dialog\u00a0box or subwindow that uses to create popup dialogs and modals on a web page or as converssation.<\/li>\n\n\n\n<li><strong>&lt;figure&gt;<\/strong>\u00a0\u2212 It is used to associate a caption together with some embedded content, such as a graphic or video.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size\">HTML5 document structure will look like follows<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt; \n&lt;html&gt;  \n   &lt;head&gt; \n      &lt;title&gt;...&lt;\/title&gt; \n   &lt;\/head&gt; \n   &lt;body&gt; \n      &lt;header&gt;...&lt;\/header&gt; \n      &lt;nav&gt;...&lt;\/nav&gt; \n      &lt;article&gt; \n         &lt;section&gt; \n            ... \n         &lt;\/section&gt; \n      &lt;\/article&gt; \n      &lt;aside&gt;...&lt;\/aside&gt; \n      &lt;footer&gt;...&lt;\/footer&gt; \n   &lt;\/body&gt; \n&lt;\/html&gt; <\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;  \n&lt;html&gt;  \n   &lt;head&gt; \n\n      &lt;title&gt;My First Web Page using HTML5 document structure&lt;\/title&gt; \n   &lt;\/head&gt; \n   &lt;body&gt; \n      &lt;header&gt; \n         &lt;h1&gt;Example : HTML 5 Document Structure&lt;\/h1&gt; \n         &lt;p&gt;Hello Students, let's check the structure of HTML5&lt;\/p&gt; \n      &lt;\/header&gt; \n      &lt;nav&gt; \n         &lt;ul&gt; \n            &lt;li&gt;&lt;a href = \"https:\/\/swatilathia.wordpress.com\/assignments-html\/html-tutorial\/\"&gt;HTML Tutorial - Basic Tags&lt;\/a&gt;&lt;\/li&gt; \n             &lt;li&gt;&lt;a href = \"https:\/\/swatilathia.wordpress.com\/javascript-tutorial-3-built-in-functions\/\"&gt;JavaScript Tutorial - Built in functions&lt;\/a&gt;&lt;\/li&gt; \n         &lt;\/ul&gt; \n      &lt;\/nav&gt; \n      &lt;article&gt; \n         &lt;section&gt; \n            &lt;p&gt;This content is a part of section element&lt;\/p&gt;\n         &lt;\/section&gt; \n      &lt;\/article&gt; \n      &lt;aside&gt; \n         &lt;p&gt;This is  aside part of our web page&lt;\/p&gt; \n      &lt;\/aside&gt; \n      &lt;footer&gt; \n         &lt;p&gt;Created by &lt;a href = \"https:\/\/swatilathia.wordpress.com\/\"&gt;Swati Lathia&lt;\/a&gt;&lt;\/p&gt; \n      &lt;\/footer&gt; \n   \n   &lt;\/body&gt; \n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"attributes\"><span class=\"ez-toc-section\" id=\"Attributes\"><\/span>Attributes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Autocomplete<\/strong> : The <strong>autocomplete<\/strong>\u00a0attribute specifies whether a form or an input field should have autocomplete on or off. Autocomplete allows the browser to predict the value. This attributes sets inside &lt;form&gt;<\/li>\n\n\n\n<li>When a user starts to type in a field, the browser should display options to fill in the field, based on earlier typed values. The autocomplete attribute works with &lt;input&gt; types: text, search, url, email, password, datepickers, range, and color.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example<\/strong> : Make autocomplete=on &amp; then off to check the differences<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;form method=post autocomplete=on&gt;\n\tEnter your name:\n\t&lt;input type=text name=txtname&gt;&lt;br&gt;\n\t&lt;input type=submit&gt;\n&lt;\/form&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Autofocus :<\/strong> The <strong>autofocus<\/strong> attribute is a boolean attribute. When it is present, it specifies that the element should automatically get focus when the page loads. The autofocus attribute can be used on : button, input, select, textarea.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;body&gt;\n       &lt;h1&gt;This is an example of autofocus attribute&lt;\/h1&gt;\n       &lt;button type=\"button\" onclick=\"alert('Hello Students!!')\" autofocus&gt;Click Me!&lt;\/button&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Contenteditable : <\/strong>contenteditable is a new attribute for text elements. Default value of contenteditable is false. To edit a paragraph or text, add contenteditable=\u201dtrue\u201d.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example<\/strong> : &lt;h1 contenteditable=\u201dtrue\u201d&gt;This element is editable. Click here to see the difference&lt;\/h1&gt;<\/p>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Disabled:<\/strong> The disabled attribute is a boolean attribute. When it is  present, it specifies that the element should be disabled. <\/li>\n\n\n\n<li>The disabled attribute can be set to keep a user from using the element until some other condition has been met (like selecting a checkbox, etc.). Then, a JavaScript could remove the disabled value, and make the element usable again. The disabled attribute can be used on : button, input, option, select, textarea<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example <\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;form&gt;\n    First name:\n    &lt;input type=\"text\" name=\"fname\"&gt;&lt;br&gt;\n    &lt;input type=\"submit\" value=\"Submit\" disabled&gt;\n&lt;\/form&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Download: <\/strong>Download attribute is used hyperlinks to download the file. Without download attribute, the file will open in browser tab. The download attribute specifies that the target (the file specified in the href attribute) will be downloaded when a user clicks on the hyperlink. <\/li>\n\n\n\n<li>The optional value of the download attribute will be the new name of the file after it is downloaded. There are no restrictions on allowed values, and the browser will automatically detect the correct file extension and add it to the file (.img, .pdf, .txt, .html, etc.). If the value is omitted, the original filename is used.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example<\/strong> : &lt;a href=\u201dAppointmentReciept.pdf\u201d download=\u201dDemo PDF\u201d&gt;Download PDF&lt;\/a&gt;<\/p>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>draggable : <\/strong>It\u00a0is used if an element is draggable using HTML5 drag and Drop Events.\u00a0draggable\u00a0shows a placeholder of draggable element.<\/li>\n\n\n\n<li>By default, only selected text, images and hyperlinks are draggable, but using\u00a0<strong>draggable=\u201dtrue\u201d<\/strong>, any html5 element can be draggable.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example :<\/strong> &lt;p draggable=true&gt;This Paragraph is draggable&lt;\/p&gt;<\/p>\n\n\n\n<p draggable=\"true\">This Paragraph is draggable<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"form-elements\"><span class=\"ez-toc-section\" id=\"elements\"><\/span><strong>&lt;Form&gt; elements<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"number-control\"><span class=\"ez-toc-section\" id=\"Number_Control\"><\/span><strong>Number Control<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>&lt;input&gt; elements of type number are used to let the user enter a number.<\/li>\n\n\n\n<li>They include built-in validation to reject non-numerical entries.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>&lt;input type=\u201dnumber\u201d&gt;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Value:<\/strong>\u00a0A Number representing the value of the number entered into the input<\/li>\n\n\n\n<li>You can set a default value for the input by including a number inside the value attribute<\/li>\n\n\n\n<li>&lt;input type=number value=\u201d10\u201d&gt;<\/li>\n\n\n\n<li><strong>Max:\u00a0<\/strong>The maximum value to accept for this input<\/li>\n\n\n\n<li><strong>Min:\u00a0<\/strong>The minimum value to accept for this input<\/li>\n\n\n\n<li><strong>Placeholder:\u00a0<\/strong>It is a string that provides a brief hint to the user as to what kind of information is expected in the field.<\/li>\n\n\n\n<li><strong>Step:\u00a0<\/strong>By default, the up and down buttons provided for you to step the number up and down will step the value up and down by 1. You can change this by providing a step attribute, which takes as its value a number specifying the step amount.<\/li>\n\n\n\n<li>&lt;input type=\u201dnumber\u201d step=\u201d10\u201d placeholder=\u201dMultiple of 10\u201d&gt;<\/li>\n\n\n\n<li>You can also allow decimals here<\/li>\n\n\n\n<li>&lt;input type=number step=\u201d0.01\u2033&gt;<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"date-control\"><span class=\"ez-toc-section\" id=\"Date_Control\"><\/span><strong>Date Control<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It is used to define\u00a0a date picker or control field. The value will be the year, month and day.\u00a0<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Syntax<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;input type=\"date\"&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Value:\u00a0<\/strong>It is a date that can be entered by user. Date representation in YYYY-MM-DD format.<\/li>\n\n\n\n<li><strong>Name:<\/strong> It is used to represent the name of the associated element submitted to the server.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;input type=\"date\" name=\"d1\" value=\"2000-06-12\"&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Min:<\/strong> The earliest date to accept<\/li>\n\n\n\n<li><strong>Max: <\/strong>The latest date to accept<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n&lt;body&gt;\n\t&lt;form&gt;\n\t\tChoose date of assignment:\n\t\t&lt;input type=\"date\" \n\t\t name=\"d1\" \n\t\tmin=\"2017-04-01\" \n\t\tmax=\"2017-04-15\"&gt;\n\t&lt;\/form&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<form>\n\t\tChoose date of assignment:\n\t\t<input type=\"date\" name=\"d1\" min=\"2017-04-01\" max=\"2017-04-15\">\n\t<\/form><br>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"time-control\"><span class=\"ez-toc-section\" id=\"Time_Control\"><\/span><strong>Time Control<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It is used to enter a time (hours and minutes, and optionally seconds) by the user.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Syntax<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;input type=\"time\"&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Value:<\/strong> A\u00a0<code>String<\/code>\u00a0containing the value of the time entered into the input element.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n&lt;body&gt;\n\t&lt;form&gt;\n\t\t&lt;input type=\"time\" name=\"t1\" value=\"14:30\"&gt;\n\t&lt;\/form&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<form>\n\t\t<input type=\"time\" name=\"t1\" value=\"14:30\">\n\t<\/form><br>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"datetime-control\"><span class=\"ez-toc-section\" id=\"Datetime-local_Control\"><\/span><strong>Datetime-local Control<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It is used for entering a date and time (hour, minute, second, and fraction of a second). <\/li>\n\n\n\n<li><strong>Value:<\/strong> It represents the value of the date entered into the input.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Syntax<\/strong>: <\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;input type=\"datetime-local\" value=\"2000-06-12T05:30\"&gt;<\/code><\/pre>\n\n\n\n<form>\n<input type=\"datetime-local\" value=\"2000-06-12T05:30\">\n<\/form>\n<br>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"month-control\"><span class=\"ez-toc-section\" id=\"Month_Control\"><\/span><strong>Month Control<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It is used to enter a month and year by the user. The value is a string whose value is in the format \u201c<code>YYYY-MM<\/code>\u201c, where\u00a0<code>YYYY<\/code>\u00a0is the four-digit year and\u00a0<code>MM<\/code>\u00a0is the month number.<\/li>\n\n\n\n<li><strong>Value:<\/strong><\/li>\n\n\n\n<li>It\u00a0represents the value of the month and year entered into the input, in the form YYYY-MM.<\/li>\n\n\n\n<li><strong>Min:<\/strong> The lowest month value to accept<\/li>\n\n\n\n<li><strong>Max:<\/strong> The highest month value to accept<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n&lt;body&gt;\n\t&lt;form&gt;\n\tSelect a Month:\n\t&lt;input type=\"month\" name=\"start\" min=\"2018-02\" max=\"2018-10\"&gt;\n\t&lt;\/form&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<form>\n\tSelect a Month:\n\t<input type=\"month\" name=\"start\" min=\"2018-02\" max=\"2018-10\">\n\t<\/form><br>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"week-control\"><span class=\"ez-toc-section\" id=\"Week_Control\"><\/span><strong>Week Control<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It creates input fields allowing easy entry of a year plus the\u00a0week number\u00a0during that year<\/li>\n\n\n\n<li><strong>Value:<\/strong> It\u00a0represents the value of the week\/year entered into the input.\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n&lt;body&gt;\n\t&lt;form&gt;\n\t\tSelect Week:\n\t\t&lt;input name=\"w1\" type=\"week\" value=\"2021-W01\"&gt;\n\t&lt;\/form&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Max:<\/strong> The latest (time-wise) year and week number to accept<\/li>\n\n\n\n<li><strong>Min:<\/strong> The earliest year and week to accept.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n&lt;body&gt;\n\t&lt;form&gt;\n\t\tSelect Week to start:\n\t\t&lt;input type=\"week\" name=\"week\" min=\"2017-W01\" max=\"2017-W52\"&gt;\n\t&lt;\/form&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<form>\n\t\tSelect Week to start:\n\t\t<input type=\"week\" name=\"week\" min=\"2017-W01\" max=\"2017-W52\">\n\t<\/form><br>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"email-control\"><span class=\"ez-toc-section\" id=\"Email_Control\"><\/span><strong>Email Control<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It is used to let the user enter and edit an e-mail address. The input value is automatically validated to ensure that it\u2019s either empty or a properly-formatted e-mail address.<\/li>\n\n\n\n<li><strong>Value<\/strong>: It contains a string\u00a0which is automatically validated as conforming to e-mail syntax. Valid email format is username@domain or username@domain.com.<\/li>\n\n\n\n<li><strong>Maxlength:<\/strong> The maximum number of characters the user can enter into the email input.<\/li>\n\n\n\n<li><strong>Minlength:<\/strong> The minimum number of characters the user can enter into the email input.<\/li>\n\n\n\n<li><strong>Size:<\/strong> It indicates how many characters wide the input field should be. It must be greater than zero, and the default value is 20. Since character widths vary, this may or may not be exact. So it may be narrower or wider than specified number of characters.<\/li>\n\n\n\n<li>It does not indicates how many characters to enter, rather it indicates approximately how many characters can be seen at a time.<\/li>\n\n\n\n<li><strong>Pattern<\/strong>: It is used to set the pattern for email validation to restrict the user to enter valid email pattern. It is a valid JavaScript regular expression.<\/li>\n\n\n\n<li><strong>Placeholder:<\/strong> It is a string that provides an idea to the user as to what kind of information is expected in the field.<\/li>\n\n\n\n<li><strong>Readonly:<\/strong> It is a boolean attribute. If it is present, then this field cannot be edited by the user.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n&lt;body&gt;\n\t&lt;form&gt;\n\t\tEnter your Email:\n\t\t&lt;input type=\"email\" maxlength=30\n\t\tplaceholder=\"swatilathia@gmail.com\"&gt;\n\t&lt;\/form&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<form>\n\t\tEnter your Email:\n\t\t<input type=\"email\" maxlength=\"30\" placeholder=\"swatilathia@gmail.com\">\n\t<\/form><br>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"range-control\"><span class=\"ez-toc-section\" id=\"Range_Control\"><\/span><strong>Range Control<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It represents a dial control or slider control which specify a numeric value. It must be no less than a given value, and no more than another given value. <\/li>\n\n\n\n<li><strong>Value:<\/strong> It\u00a0contains a string representation of the selected number.<\/li>\n\n\n\n<li><strong>Min:<\/strong> The lowest value in the range of permitted values.<\/li>\n\n\n\n<li><strong>Max:<\/strong> The greatest value in the range of permitted values.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n&lt;body&gt;\n\t&lt;form&gt;\n\t\tSet your volume:\n\t\t&lt;input type=\"range\" min=\"-10\" max=\"10\"&gt;\n\t&lt;\/form&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<form>\n\t\tSet your volume:\n\t\t<input type=\"range\" min=\"-10\" max=\"10\">\n\t<\/form><br>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"url-control\"><span class=\"ez-toc-section\" id=\"URL_Control\"><\/span><strong>URL Control<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It is used to let the user enter and edit a URL.<\/li>\n\n\n\n<li><strong>Value:<\/strong> It contains a\u00a0string\u00a0which is automatically validated as conforming to URL syntax.\u00a0<\/li>\n\n\n\n<li><strong>Maxlength:<\/strong> The maximum number of characters  the user can enter into the\u00a0<code>URL<\/code> input.<\/li>\n\n\n\n<li><strong>Minlength:<\/strong> The maximum number of characters the user can enter into the\u00a0<code>URL<\/code>\u00a0input.<\/li>\n\n\n\n<li><strong>Placeholder:<\/strong> It is a string that provides an idea to the user as to what kind of information is expected in the field.<\/li>\n\n\n\n<li><strong>Readonly:<\/strong> It is a boolean attribute. If it is present, then this field cannot be edited by the user.<\/li>\n\n\n\n<li><strong>Size:<\/strong> It indicates how many characters wide the input field should be. It must be greater than zero, and the default value is 20. Since character widths vary, this may or may not be exact. So it may be narrower or wider than specified number of characters.<\/li>\n\n\n\n<li><strong><em>Required &amp; pattern attributes do the same as earlier<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;html&gt;\n&lt;body&gt;\n\t&lt;form&gt;\n\t\t&lt;input type=\"url\" placeholder=\"https:\/\/example.com\"\n                size=\"30\" required&gt;\n                &lt;input type=\"submit\"&gt;\n\t&lt;\/form&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<form>\n\t\t<input type=\"url\" placeholder=\"https:\/\/example.com\" size=\"30\" required>\n                <input type=\"submit\">\n\t<\/form><br>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"audio-the-embed-audio-element\"><span class=\"ez-toc-section\" id=\"%E2%80%93_The_Embed_Audio_element\"><\/span><strong>&lt;audio&gt; \u2013 The Embed Audio element<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It is used to embed sound content in web page. It may contain one or more audio sources, represented using the src attribute or the &lt;source&gt; element: the browser will choose the most suitable one.<\/li>\n\n\n\n<li><strong>autoplay<\/strong>: It is a Boolean attribute. If it is specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.<\/li>\n\n\n\n<li><strong>controls<\/strong>: If it is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause\/resume playback.<\/li>\n\n\n\n<li><strong>loop<\/strong>: It is a boolean attribute. If it is specified, the audio player will automatically seek back to the start upon reaching the end of the audio.<\/li>\n\n\n\n<li><strong>muted:<\/strong> It is boolean attribute that indicates whether the audio will be initially silenced. Its default value is false.<\/li>\n\n\n\n<li><strong>src:<\/strong> The URL of the audio to embed. This is subject to HTTP access controls. This is optional; you may instead use the &lt;source&gt; element within the audio block to specify the audio to embed.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;audio controls autoplay loop muted&gt;\n  &lt;source src=\"myaudio.mp3\" type=\"audio\/mpeg\"&gt;\n&lt;\/audio&gt;<\/code><\/pre>\n\n\n\n<audio controls autoplay loop muted>\n  <source src=\"myaudio.mp3\" type=\"audio\/mpeg\">\n<\/source><\/audio><br>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong><em>Check the above example in every browser \u2013 chrome, firefox &amp; internet explorer , so that you will get the output in any one\/two\/three of them<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"source-the-media-or-image-source-element\"><span class=\"ez-toc-section\" id=\"%E2%80%93_The_Media_or_Image_Source_element\"><\/span><strong>&lt;source&gt; \u2013 The Media or Image Source element<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>It specifies multiple media resources for the &lt;picture&gt;, &lt;audio&gt; &amp; &lt;video&gt; elements. It is commonly used to offer the same media content in multiple file formats in order to provide compatibility with a wide range of browsers given their differing support for image file formats and media file formats.<\/li>\n\n\n\n<li><strong>src<\/strong> : It is required for\u00a0&lt;audio&gt;\u00a0and\u00a0&lt;video&gt;, address of the media resource. <\/li>\n\n\n\n<li><strong>type:<\/strong> The\u00a0MIME media type of the resource like video\/mp4, video\/webm, audio\/mpeg, audio\/mp4 etc.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"video-the-video-embed-element\"><span class=\"ez-toc-section\" id=\"%E2%80%93_The_Video_Embed_element\"><\/span><strong>&lt;video&gt; \u2013 The Video Embed element<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>The &lt;video&gt; HTML element embeds a media player which supports video playback into the web page. You can use &lt;video&gt; for audio content as well, but the &lt;audio&gt; element may provide a more appropriate user experience.<\/li>\n\n\n\n<li><strong>Autoplay<\/strong>: It is a Boolean attribute. If it is specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data.<\/li>\n\n\n\n<li><strong>Controls <\/strong>: If this attribute is present, the browser will offer controls to allow the user to control video playback, including volume, seeking, and pause\/resume playback.<\/li>\n\n\n\n<li><strong>Height<\/strong> : The height of the video\u2019s display area, in CSS pixels<\/li>\n\n\n\n<li><strong>Loop:<\/strong> It is a Boolean attribute. If it is specified, the browser will automatically seek back to the start upon reaching the end of the video.<\/li>\n\n\n\n<li><strong>Muted <\/strong>: It is a Boolean attribute that indicates the default setting of the audio contained in the video. If set, the audio will be initially silenced. Its default value is false, meaning that the audio will be played when the video is played.<\/li>\n\n\n\n<li><strong>Src :<\/strong> The URL of the video to embed. This is optional; you may instead use the &lt;source&gt; element within the video block to specify the video to embed.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;video controls autoplay loop&gt;\n  &lt;source src=\"myvideo.mp4\" type=\"video\/mp4\"&gt;\n&lt;\/video&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>Output:<\/strong><\/li>\n<\/ul>\n\n\n\n<video controls autoplay loop>\n  <source src=\"myvideo.mp4\" type=\"video\/mp4\">\n<\/source><\/video><br>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong><em>Check the above example in every browser \u2013 chrome, firefox &amp; internet explorer , so that you will get the output in any one\/two\/three of them<\/em><\/strong>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Canvas\"><\/span><strong>Canvas<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>The <code>&lt;canvas&gt;<\/code> element in HTML is used to draw graphics on a web page using JavaScript. <\/li>\n\n\n\n<li>It is a rectangular area on which you can render various visual elements, such as shapes, images, and animations, through JavaScript programming. <\/li>\n\n\n\n<li>This element does not have any content by default; rather, it\u2019s like a blank canvas, hence the name.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Basic_Structure\"><\/span><strong>Basic Structure<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;canvas id=\"demo_Canvas\" width=\"500\" height=\"500\"&gt;&lt;\/canvas&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li><strong>id<\/strong>: A unique identifier for the canvas element, so you can reference it in JavaScript.<\/li>\n\n\n\n<li><strong>width<\/strong>: Defines the width of the canvas in pixels (default is 300px).<\/li>\n\n\n\n<li><strong>height<\/strong>: Defines the height of the canvas in pixels (default is 150px).<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_draw_on_a_canvas\"><\/span><strong>How to draw on a canvas<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list has-medium-font-size\">\n<li>To draw on the canvas, you need to access its \u201ccontext\u201d via JavaScript. <\/li>\n\n\n\n<li>The context is an object that provides the methods and properties to draw shapes and other elements.<\/li>\n\n\n\n<li> Most commonly, the \u201c2d\u201d context is used, but there are also other contexts (e.g., \u201cwebgl\u201d for 3D graphics).<\/li>\n\n\n\n<li>Here\u2019s an example of how to draw a simple rectangle on the canvas:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;canvas id=\"demo_Canvas\" width=\"500\" height=\"500\"&gt;&lt;\/canvas&gt;\n&lt;script&gt;\n    \/\/ Get the canvas element\n    var canvas = document.getElementById(\"demo_Canvas\");\n\n    \/\/ Get the 2D drawing context\n    var ctx = canvas.getContext(\"2d\");\n\n    \/\/ Draw a rectangle\n    ctx.fillStyle = \"blue\";  \/\/ Set the fill color\n    ctx.fillRect(50, 50, 150, 100);  \/\/ Draw the rectangle (x, y, width, height)\n&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<canvas id=\"demo_Canvas\" width=\"500\" height=\"500\"><\/canvas>\n<script>\n    \/\/ Get the canvas element\n    var canvas = document.getElementById(\"demo_Canvas\");\n\n    \/\/ Get the 2D drawing context\n    var ctx = canvas.getContext(\"2d\");\n\n    \/\/ Draw a rectangle\n    ctx.fillStyle = \"cyan\";  \/\/ Set the fill color\n    ctx.fillRect(50, 50, 150, 100);  \/\/ Draw the rectangle (x, y, width, height)\n<\/script>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Use_of_Canvas\"><\/span><strong>Use of Canvas<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\"><strong>Drawing shapes<\/strong> (rectangles, circles, lines)<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Rendering images<\/strong> (you can draw an image onto the canvas)<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Animations<\/strong> (by updating the canvas periodically)<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Game development<\/strong> (2D and 3D games use canvas to render scenes)<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Graphs and charts<\/strong> (dynamic data visualizations)<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Image manipulation<\/strong> (filtering, resizing, cropping)<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Line Drawing Example<\/strong><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>&lt;canvas id=\"demo_Canvas\" width=\"500\" height=\"500\"&gt;&lt;\/canvas&gt;\n\n&lt;script&gt;\n    \/\/ Get the canvas element\n    var canvas = document.getElementById(\"demo_Canvas\");\n\n    \/\/ Get the 2D drawing context\n    var ctx = canvas.getContext(\"2d\");\n\n    \/\/ Set the line color and width\n    ctx.strokeStyle = \"red\"; \/\/ Set the color of the line\n    ctx.lineWidth = 5;       \/\/ Set the thickness of the line\n\n    \/\/ Move to the starting point of the line\n    ctx.moveTo(50, 50);  \/\/ Starting point (x, y)\n\n    \/\/ Draw the line to the ending point\n    ctx.lineTo(100, 100);  \/\/ Ending point (x, y)\n\n    \/\/ Render the line\n    ctx.stroke();  \/\/ Actually draw the line\n&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<canvas id=\"demo_Canvas\" width=\"500\" height=\"500\"><\/canvas>\n\n<script>\n    \/\/ Get the canvas element\n    var canvas = document.getElementById(\"demo_Canvas\");\n\n    \/\/ Get the 2D drawing context\n    var ctx = canvas.getContext(\"2d\");\n\n    \/\/ Set the line color and width\n    ctx.strokeStyle = \"red\"; \/\/ Set the color of the line\n    ctx.lineWidth = 5;       \/\/ Set the thickness of the line\n\n    \/\/ Move to the starting point of the line\n    ctx.moveTo(100, 150);  \/\/ Starting point (x, y)\n\n    \/\/ Draw the line to the ending point\n    ctx.lineTo(450, 450);  \/\/ Ending point (x, y)\n\n    \/\/ Render the line\n    ctx.stroke();  \/\/ Actually draw the line\n<\/script>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>Introduction HTML5 is the latest and most extended version of HTML. Before learning HTML5, you should know HTML &amp; its tags. New Features HTML5 introduces a number of new elements and attributes that can help you to develop modern &amp; advanced websites. Here is a set of some of the most important features introduced in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"om_disable_all_campaigns":false,"footnotes":""},"class_list":["post-1189","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages\/1189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/swatilathia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1189"}],"version-history":[{"count":5,"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages\/1189\/revisions"}],"predecessor-version":[{"id":5624,"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages\/1189\/revisions\/5624"}],"wp:attachment":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}