{"id":5319,"date":"2021-04-25T17:42:13","date_gmt":"2021-04-25T12:12:13","guid":{"rendered":"http:\/\/tocxten.com\/?page_id=5319"},"modified":"2021-04-25T17:42:13","modified_gmt":"2021-04-25T12:12:13","slug":"module-1-introduction-to-html-and-css","status":"publish","type":"page","link":"https:\/\/tocxten.com\/index.php\/module-1-introduction-to-html-and-css\/","title":{"rendered":"Module 1: Introduction to HTML and CSS"},"content":{"rendered":"\n<p><strong>MODULE 1- Part1&nbsp; Notes&nbsp;<\/strong><\/p>\n\n\n\n<p><strong>Syllabus : <\/strong>Introduction to HTML, What is HTML and Where did it come from?, HTML Syntax, Semantic Markup, Structure of HTML Documents, Quick Tour of HTML Elements, HTML5 Semantic Structure Elements, Introduction to CSS, What is CSS, CSS Syntax, Location of Styles, Selectors, The Cascade: How Styles Interact, The Box Model, CSS Text Styling.<\/p>\n\n\n\n<p><strong>A: Introduction to HTML<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Introduction to HTML<\/li><li>What is HTML and Where did it come from?<\/li><li>HTML Syntax<\/li><li>Semantic Markup<\/li><li>Structure of HTML Documents<\/li><li>Quick Tour of HTML Elements<\/li><li>HTML5 Semantic Structure Elements&nbsp;<\/li><\/ol>\n\n\n\n<p><strong>B: Introduction to CSS<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Introduction to CSS<\/li><li>What is CSS?<\/li><li>CSS Syntax<\/li><li>Location of Styles<\/li><li>Selectors<\/li><li>The Cascade: How Styles Interact<\/li><li>&nbsp;The Box Model<\/li><li>&nbsp;CSS Text Styling.<\/li><\/ol>\n\n\n\n<p><strong>A. Introduction to HTML<\/strong><\/p>\n\n\n\n<p><strong>1.What is HTML and Where did it Come From :&nbsp;<\/strong><\/p>\n\n\n\n<p>HTML is a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Markup_language\">markup language<\/a> that <a href=\"https:\/\/en.wikipedia.org\/wiki\/Web_browser\">web browsers<\/a> use to interpret and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Typesetting\">compose<\/a> text, images, and other material into visual or audible web pages. Default characteristics for every item of HTML markup are defined in the browser, and these characteristics can be altered or enhanced by the web page designer&#8217;s additional use of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cascading_Style_Sheets\">CSS<\/a>.\u00a0<\/p>\n\n\n\n<p>[<strong>Source<\/strong> : <a href=\"https:\/\/en.wikipedia.org\/wiki\/HTML\">https:\/\/en.wikipedia.org\/wiki\/HTML<\/a> ]&nbsp;<\/p>\n\n\n\n<p>HTML stands for Hyper Text Markup Language. HTML is the standard markup language for creating Web pages . HTML describes the structure of a Web page . HTML consists of a series of elements which\u00a0 tell the browser how to display the content and label pieces of content such as &#8220;this is a heading&#8221;, &#8220;this is a paragraph&#8221;, &#8220;this is a link&#8221;, etc.<\/p>\n\n\n\n<p>The first public specification (version) of the HTML was written by Physicist ,Tim Beners Lee in 1991. It describes 18 elements comprising the initial, relatively simple design of HTML.Later in 1997 HTML\u2019s codification&nbsp; was introduced by the World- Wide Web Consortium (W3C) . In 1998 following W3C specification of HTML was made public :<\/p>\n\n\n\n<p>\u201c<em>To publish information for global distribution one needs a universally understood language , a kind of publishing mother tongue that all computers may potentially understand . The publishing language used by the World Wide Web is HTML (Hyper text Markup Language).\u201d&nbsp;<\/em><\/p>\n\n\n\n<p>Since 1998, there have been many different versions of HTML. The most widely used version throughout the 2000&#8217;s was HTML 4.01, which became an official standard in December 1999. Another version, XHTML, was a rewrite of HTML as an XML language. XML is a standard markup language that is used to create other markup languages. Hundreds of XML languages are in use today, including GML (Geography Markup Language), MathML, MusicML, and RSS (Really Simple Syndication). Since each of these languages was written in a common language (XML), their content can easily be shared across applications. This makes XML potentially very powerful, and it&#8217;s no surprise that the W3C would create an XML version of HTML (again, called XHTML). XHTML became an official standard in 2000, and was updated in 2002. XHTML is very similar to HTML, but has stricter rules. Strict rules are necessary for all XML languages, because without it, interoperability between applications would be impossible. Most pages on the Web today were built using either HTML 4.01 or XHTML 1.0. However, in recent years, the W3C (in collaboration with another organization, the <a href=\"http:\/\/www.whatwg.org\/\">WHATWG<\/a>), has been working on a brand new version of HTML, HTML5. Currently (2011), HTML5 is still a draft specification, and is not yet an official standard. However, it is already widely supported by browsers and other web-enabled devices, and is the way of the future.&nbsp;<\/p>\n\n\n\n<p>[ <strong>Source<\/strong> : <a href=\"https:\/\/www.washington.edu\/accesscomputing\/webd2\/student\/lessons.html\">https:\/\/www.washington.edu\/accesscomputing\/webd2\/student\/lessons.html<\/a>]&nbsp;<\/p>\n\n\n\n<p><strong>What is Markup Language :&nbsp;<\/strong><\/p>\n\n\n\n<p>A markup language is simply a way of annotating a document in such a way as to make the annotations distinct from the text being annotated. Markup Languages such as HTML , Tex, XML and XHTML allow users to control how text and visual elements will be laid out and displayed . MArkup is a way to indicate information about the content that is distinct from the content. This information about content in HTML is implemented via tags or HTML elements .<\/p>\n\n\n\n<p><strong>Fig: Sample Ad Hoc Markup Languages:<\/strong>&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/ryWXHLSGOHMHlvdg-2ZOEI3DHKHqM9crE_G8d4wtZaR6ltIdouwGSWw4DmWv8nMCOY20SSuuK6bhIFjE7SHnY7n16dVDylU46eK1LTJQzvD3At4QWrlLFvrST0oPl0th7kfs8xm6\" alt=\"\"\/><\/figure>\n\n\n\n<p>At its simplest, markup is a way to indicate information about the content . This \u201cinformation about content\u201d in HTML is implemented via tags (aka elements). The markup in the above figure consists of the red text and the various circles and arrows on the one page, and the little yellow sticky notes on the other. HTML does the same thing but uses textual tags.<\/p>\n\n\n\n<p><strong>What is W3C standard?<\/strong><\/p>\n\n\n\n<p>The W3C is the main standards organization for the World Wide Web. To promote compatibility the W3C produces recommendations (also called specifications). In 1998, the W3C turned its attention to a new specification called XHTML 1.0, which was a version of HTML that used stricter XML (Extensible Markup Language) syntax rules.<\/p>\n\n\n\n<p>The goal of XHTML with its strict rules was to make page rendering more predictable by forcing web authors to create web pages without syntax errors.The XML-based syntax rules for XHTML are pretty easy to follow. The main rules are:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>lowercase tag names,&nbsp;<\/li><li>attributes always within quotes,&nbsp;<\/li><li>and all elements must have a closing element (or be self-closing)<\/li><\/ul>\n\n\n\n<p>To help web authors, two versions of XHTML were created: XHTML 1.0 Strict and XHTML 1.0 Transitional. The strict version was meant to be rendered by a browser using the strict syntax rules and tag support described by the W3C XHTML 1.0 Strict specification.The transitional recommendation is a more forgiving flavor of XHTML, and was meant to act as a temporary transition to the eventual global adoption of XHTML<\/p>\n\n\n\n<p>XML-based well formed syntax rules for XHTML:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>There must be a single root element&nbsp;<\/li><li>Element names are composed of any of the valid characters in XML<\/li><li>Element names can\u2019t start with a number<\/li><li>Element and attribute names are case sensitive<\/li><li>Attributes must always be within spaces<\/li><li>All elements must have a closing element ( of be self closing)<\/li><\/ul>\n\n\n\n<p><strong>Standards Movement : <\/strong>During much of the 2000s, the focus in the professional web development community was on standards: that is, on limiting oneself to the W3C specification for XHTML.<\/p>\n\n\n\n<p><strong>Validators : <\/strong>A key part of the standards movement in the web development community of the 2000s was the use of HTML Validators as a means of verifying that a web page\u2019s markup followed the rules for XHTML.&nbsp;<\/p>\n\n\n\n<p>Must have internet Connection<\/p>\n\n\n\n<p>Open a web browser to the W3C validator and find a few websites to test.<\/p>\n\n\n\n<p>Type the URL into the bar, and you can check if the home page is valid against various standards (or auto-detect)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/Z7erJ75uRVLBPv-sES_n-K_2xzeA5sz-OEbMBHj51FcmOeLvYGka77vr3bb9yDITIQXtiEStkhYmz-KrCI5zEQ_H2B0QygFnoSfUnBQCVuM_uzVI6zG1OG_-Kv8175hDXnpo-1SA\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>XHTML 2.0 and WHATWG <\/strong>: In the mid 2000s, XHTML 2.0 proposed a revolutionary and substantial change to HTML.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>backwards compatibility with HTML and XHTML 1.0 was dropped.&nbsp;<\/li><li>Browsers would become significantly less forgiving of invalid markup.<\/li><\/ul>\n\n\n\n<p>At around the same time, a group of developers at Opera and Mozilla formed the WHATWG (Web Hypertext Application Technology Working Group) group within the W3C.&nbsp;<\/p>\n\n\n\n<p>This group was not convinced that the W3C\u2019s embrace of XML and its abandonment of backwards-compatibility was the best way forward for the web.<\/p>\n\n\n\n<p><strong>HTML5: <\/strong>By 2009, the W3C stopped work on XHTML 2.0 and instead adopted the work done by WHATWG and named it HTML5.<\/p>\n\n\n\n<p>There are three main aims to HTML5:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Specify unambiguously how browsers should deal with invalid markup.<\/li><li>Provide an open, non-proprietary programming framework (via Javascript) for creating rich web applications.<\/li><li>Be backwards compatible with the existing web.<\/li><\/ul>\n\n\n\n<p><strong>HTML5 Evolves :<\/strong> While parts of the HTML5 are still being finalized, all of the major browser manufacturers have at least partially embraced HTML5. Certainly not all browsers and all versions support every feature of HTML5. This is in fact by design , HTML in HTML5 is now a living language: that is, it is a language that evolves and develops over time. As such, every browser will support a gradually increasing subset of HTML5 capabilities<\/p>\n\n\n\n<p><strong>HTML5 Support in Browsers:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/PlWqSpqRFbSu5ja_tnm6EAb06Y-F7E84wgjFR3h3AKfX-kQX6To8Tu39j-6NawVsN9acA-fDV9iHgumS86a_H6H04KWZ4giIkjwexSTDSybxIoYmj4pXzNt3ZHmbgGN9zsdo7-H0\" alt=\"\" width=\"380\" height=\"411\"\/><\/figure>\n\n\n\n<p><strong>Versions of HTML :&nbsp;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>HTML Version<\/strong><\/td><td><strong>Features\/ Significance Details<\/strong><\/td><\/tr><tr><td>HTML 1.0(1991)<\/td><td>Supports basic elements like text , controls and images. Does not supported styling,tables , font support .W3C does not not existed during this period<\/td><\/tr><tr><td>HTML 2.0(1997)<\/td><td>Improved Version of HTML1.0, Supported MArkup Tags,text boxes , buttons , W3C was introduced, Standards was maintained.(upto 1997)<\/td><\/tr><tr><td>HTML 3.2(1998)<\/td><td>In 1997.HTML tags were improved tags and form elements , Supported CSS with HTML, CSS provides features to make HTML tags better through styling.<\/td><\/tr><tr><td>HTML 4.01(<\/td><td>Developed in 1997 . External CSS File development and including with HTML, New tags Were introduced<\/td><\/tr><tr><td>XHTML<\/td><td><strong>[2002] XHTML<\/strong>, was a rewrite of HTML as an XML language. XHTML is very similar to HTML, but has stricter rules.<\/td><\/tr><tr><td>HTML 5.0<\/td><td>[2011] Supported New Elements like geolocations support tags,Email, Password,&nbsp; Audio tags, Semantic tags , Section tag<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Semantic tags<\/strong> :<\/p>\n\n\n\n<p>Semantic tags are also known as structural tags. Structural tags are the tags that provide structure to the HTML page. It helps it divide the HTML page into different structures. These structures get combined into an HTML page itself to form an HTML web page. Few of the important HTML semantic tags are figcaption, &lt;header&gt;, &lt;footer&gt;<\/p>\n\n\n\n<p><strong>Section tag :<\/strong><\/p>\n\n\n\n<p>This tag is used to semantic a section in an HTML page. A <a href=\"https:\/\/www.educba.com\/html-section-tag\/\">section tag<\/a> represents a section in a web page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Examples of types of content that can be included on web pages:&nbsp;<\/strong><\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">The following table shows a list of many of the types of content that can be added to web pages using different versions of HTML.&nbsp;<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Type of content<\/strong><\/td><td><strong>HTML 1.2<\/strong><\/td><td><strong>HTML 4.01<\/strong><\/td><td><strong>HTML5<\/strong><\/td><td><strong>Purpose<\/strong><\/td><\/tr><tr><td>Heading<\/td><td>Yes<\/td><td>Yes<\/td><td>Yes<\/td><td>Organize page content by adding headings and subheadings to the top of each section of the page<\/td><\/tr><tr><td>Paragraph<\/td><td>Yes<\/td><td>Yes<\/td><td>Yes<\/td><td>Identify paragraphs of text<\/td><\/tr><tr><td>Address<\/td><td>Yes<\/td><td>Yes<\/td><td>Yes<\/td><td>Identify a block of text that contains contact information<\/td><\/tr><tr><td>Anchor<\/td><td>Yes<\/td><td>Yes<\/td><td>Yes<\/td><td>Link to other web content<\/td><\/tr><tr><td>List<\/td><td>Yes<\/td><td>Yes<\/td><td>Yes<\/td><td>Organize items into a list<\/td><\/tr><tr><td>Image<\/td><td>Yes<\/td><td>Yes<\/td><td>Yes<\/td><td>Embed a photograph or drawing into a web page<\/td><\/tr><tr><td>Table<\/td><td>No<\/td><td>Yes<\/td><td>Yes<\/td><td>Organize data into rows and columns<\/td><\/tr><tr><td>Style<\/td><td>No<\/td><td>Yes<\/td><td>Yes<\/td><td>Add CSS to control how objects on a web page are presented<\/td><\/tr><tr><td>Script<\/td><td>No<\/td><td>Yes<\/td><td>Yes<\/td><td>Add Javascript to make pages respond to user behaviors (more interactive)<\/td><\/tr><tr><td>Audio<\/td><td>No<\/td><td>No<\/td><td>Yes<\/td><td>Add audio to a web page with a single tag<\/td><\/tr><tr><td>Video<\/td><td>No<\/td><td>No<\/td><td>Yes<\/td><td>Add video to a web page with a single tag<\/td><\/tr><tr><td>Canvas<\/td><td>No<\/td><td>No<\/td><td>Yes<\/td><td>Add an invisible drawing pad to a web page, on which you can add drawings (animations, games, and other interactive features) using Javascript.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>[ <strong>Source<\/strong> : <a href=\"https:\/\/www.washington.edu\/accesscomputing\/webd2\/student\/lessons.html\">https:\/\/www.washington.edu\/accesscomputing\/webd2\/student\/lessons.html<\/a>]&nbsp;<\/p>\n\n\n\n<p class=\"has-large-font-size\"><strong>2. HTML Syntax<\/strong><\/p>\n\n\n\n<p>HTML is using tags for its syntax. A tag is composed with special characters: &lt;, &gt; and \/. They are interpreted by softwares to compose an HTML element.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Decomposition of HTML elements<\/h2>\n\n\n\n<p>HTML elements usually come in tag pairs.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/CtL5rnRjroW6oraK90RkzXftOF-f8KoZQbIixFMS65yBIbtvp3FJVZAzR8F1FvXxCreX6HL6RcnOGy9FkVDw-U7sn_BsX1-bXpxegOqXGX82DMKcdYynJHKKNVm9kTWKFCWJ27wD\" alt=\"Elements.png\"\/><\/figure>\n\n\n\n<p>For opening a simple element with a <strong>start tag<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>it starts with <strong>&lt;<\/strong><\/li><li>then a list of characters without space, the tagname (or element)<\/li><li>ends usually with a <strong>&gt;<\/strong>.<\/li><\/ol>\n\n\n\n<p>Then closing the simple element with an <strong>end tag<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>it starts with <strong>&lt;\/<\/strong><\/li><li>then the <strong>same<\/strong> list of characters without space, the tagname (or element)<\/li><li>ends usually with a <strong>&gt;<\/strong>.<\/li><\/ol>\n\n\n\n<p>If the tagname is &#8220;cite&#8221;, then you get<\/p>\n\n\n\n<p>&lt;cite&gt;&lt;\/cite&gt;<\/p>\n\n\n\n<p>Some elements do not have an end tag (because they are implied by the following tags). For example you might have seen:<\/p>\n\n\n\n<p>&lt;br&gt;<\/p>\n\n\n\n<p><strong>An element can have attributes to refine its meaning.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/8kJzYJMcmB9fXPDWNa9dVn7SDLsgUA9VU5RiO0BzH1cmLMwRu381UhtPVV3z3jCrSMJ3Uv535xNoqgBkmiQstuh28mSpNtOrjHAm0iFRfy_tr42dcdHnw9oifPoVfA2vGzrg6hYD\" alt=\"Option.png\"\/><\/figure>\n\n\n\n<p>These attributes are specified on the start tag. They consist of a name and a value, separated by an &#8220;=&#8221; character. Such as:<\/p>\n\n\n\n<p>&lt;tagname attribute=&#8221;value&#8221;&gt;&lt;\/tagname&gt;<\/p>\n\n\n\n<p>In HTML, the attribute value can remain unquoted if it doesn&#8217;t contain spaces or any of the following characters: &#8221; &#8216; ` = &lt; or &gt;. Otherwise, it has to be quoted using either single or double quotes. The value, along with the &#8220;=&#8221; character, can be omitted altogether if the value is the empty string. Once you are working in a team you might want to choose a common way of authoring your code.<\/p>\n\n\n\n<p>These are examples of syntaxes you might see on the Web:<\/p>\n\n\n\n<p>&lt;!&#8211; empty attributes &#8211;&gt;<\/p>\n\n\n\n<p>&lt;input disabled&gt;<\/p>\n\n\n\n<p>&lt;input disabled=&#8221;&#8221;&gt;<\/p>\n\n\n\n<p>&lt;input disabled=&#8221;&#8221;\/&gt;<\/p>\n\n\n\n<p>&lt;!&#8211; attributes with a value &#8211;&gt;<\/p>\n\n\n\n<p>&lt;input name=address&gt;<\/p>\n\n\n\n<p>&lt;input name=&#8217;address&#8217;&gt;<\/p>\n\n\n\n<p>&lt;input name=&#8221;address&#8221;&gt;<\/p>\n\n\n\n<p><strong>Example : Elements and Attributes<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/fyoiwZV3CtCRUW0s5e2uctP_tnrSpdtgZbYIipj05pV7UkMhON_adWSFe4zgRhnxeiQqgdfBv8kJlNb6qM5K1Bx2A7u8gurhVSl-bFSXfE3WF9mm-_931tanvF6ckdc1QmONPHPE\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Example :&nbsp;<\/strong><\/p>\n\n\n\n<p>&lt;!DOCTYPE html&gt;&nbsp;<\/p>\n\n\n\n<p>&lt;html&gt;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&lt;head&gt;&nbsp;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;Align Attribute&nbsp; Example&lt;\/title&gt;&nbsp;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&lt;\/head&gt;<\/p>\n\n\n\n<p>&nbsp; &lt;body&gt;&nbsp;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p align = &#8220;left&#8221;&gt;This is left aligned&lt;\/p&gt;&nbsp;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p align = &#8220;center&#8221;&gt;This is center aligned&lt;\/p&gt;&nbsp;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p align = &#8220;right&#8221;&gt;This is right aligned&lt;\/p&gt;&nbsp;<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&lt;\/body&gt;<\/p>\n\n\n\n<p>&lt;\/html&gt;<\/p>\n\n\n\n<p><strong>Nesting HTML elements<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Often an HTML element will contain other HTML elements.&nbsp;<\/li><li>In such a case, the container element is said to be a parent of the contained, or child, element.&nbsp;<\/li><li>Any elements contained within the child are said to be descendents of the parent element; likewise, any given child element, may have a variety of ancestors.<\/li><\/ul>\n\n\n\n<p><strong>Hierarchy of elements<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/AVT_tVEpS51FzU45FACBScWq64Hsbizw04czqFIiCUrzgnq1R8QaOMBhcTFwjRb4j9wBxNMcscoijoH1vBVt-zEzylNGxny2oFf6na6Pe8gbpln9YsT5mWT0L0uakCsZ6hoRJbdO\" alt=\"\"\/><\/figure>\n\n\n\n<p>In order to properly construct a hierarchy of elements, your browser expects each HTML nested element to be properly nested.&nbsp;<\/p>\n\n\n\n<p>That is, a child\u2019s ending tag must occur before its parent\u2019s ending tag.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/QyvNOCkIQHZzzXAYjtBmcyYmo4MtTKolTZnQTgWyQPcQgTl7zjJ--5i6W5IcDPBkYvLAS0j7EgERd2NWvA8MZQQHVoNLg_XDILEGODkreISZhsytR71HT-Y-0_z1SyW7-snpxK6J\" alt=\"\" width=\"497\" height=\"274\"\/><\/figure>\n\n\n\n<p><strong>Example :<\/strong><\/p>\n\n\n\n<p>&lt;!DOCTYPE html&gt;<\/p>\n\n\n\n<p>&lt;html&gt;<\/p>\n\n\n\n<p>&lt;body&gt;<\/p>\n\n\n\n<p>&lt;h1&gt;My First Heading&lt;\/h1&gt;<\/p>\n\n\n\n<p>&lt;p&gt;My first paragraph.&lt;\/p&gt;<\/p>\n\n\n\n<p>&lt;\/body&gt;<\/p>\n\n\n\n<p>&lt;\/html&gt;<\/p>\n\n\n\n<p><strong>Basic HTML TAGS<\/strong><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&lt;html&gt; \u2026 &lt;\/html&gt; \u2014 The root element<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&lt;head&gt; \u2026 &lt;\/head&gt; \u2014 The document head<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt; \u2026 &lt;\/title&gt; \u2014 The page title<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&lt;body&gt; \u2026 &lt;\/body&gt; \u2014 The page\u2019s content<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&lt;h1&gt; \u2026 &lt;\/h1&gt; \u2014 A section heading<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; \u2026 &lt;\/p&gt; \u2014 A paragraph<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&lt;a&gt; \u2026 &lt;\/a&gt; \u2014 A link<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&lt;img&gt; \u2014 An image<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&gt; \u2026 &lt;\/div&gt; \u2014 A block-level container for content<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&lt;span&gt; \u2026 &lt;\/span&gt; \u2014 An inline container for content<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MODULE 1- Part1&nbsp; Notes&nbsp; Syllabus : Introduction to HTML, What is HTML and Where did it come from?, HTML Syntax, Semantic Markup, Structure of HTML Documents, Quick Tour of HTML&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-5319","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/pages\/5319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/comments?post=5319"}],"version-history":[{"count":1,"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/pages\/5319\/revisions"}],"predecessor-version":[{"id":5322,"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/pages\/5319\/revisions\/5322"}],"wp:attachment":[{"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/media?parent=5319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}