[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-782916-105":3,"detail-sidebar-cat-0-en-105":79,"doc-detail-782916-en":129,"doc-similar-782916":160},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":72,"head_meta":74,"extra_data":76,"updated_unix":78},105,"en","class-x-html-part-a-part-2-html-basics","Class X - HTML Part A - Part 2 - HTML basics","","HTML Part A explains how HTML describes webpage content, formatting, and layout, and how browsers interpret markup. It introduces HTML files, tags, container and empty elements, and basic document structure. Learners review tags for headings, paragraphs, alignment, line breaks, horizontal rules, text styling, and images, plus attributes, colors, comments, and nesting. Instructions guide learners through writing and saving a webpage in Notepad; assignments apply background and text colors and demonstrate paragraph alignment.",{"@graph":14,"@context":71},[15,34,54],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/class-x-html-part-a-part-2-html-basics/782916/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":48,"encodingFormat":47,"isAccessibleForFree":49,"interactionStatistic":50},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/class-x-html-part-a-part-2-html-basics/782916.png","ImageObject",300,407,{"name":42,"@type":43},"Rizky","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-12-03",true,{"@type":51,"interactionType":52,"userInteractionCount":26},"InteractionCounter",{"@type":53},"ViewAction",{"@type":55,"mainEntity":56},"FAQPage",[57,63,67],{"name":58,"@type":59,"acceptedAnswer":60},"What is an HTML file?","Question",{"text":61,"@type":62},"It is a text file containing markup tags that tell a web browser how to display a webpage. Its file extension is typically .htm or .html.","Answer",{"name":64,"@type":59,"acceptedAnswer":65},"What is the difference between container and empty elements?",{"text":66,"@type":62},"Container elements have opening and closing tags and may contain content. Empty elements, such as \u003Cbr> and \u003Chr>, have no content and do not require a closing tag.",{"name":68,"@type":59,"acceptedAnswer":69},"How can a learner create and open a first webpage?",{"text":70,"@type":62},"Write the HTML in Notepad, save the file with an .html extension, locate the saved file, and double-click it to open it in a browser.","https://schema.org",{"og:url":32,"og:type":73,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":75,"canonical":32},"index,follow",{"doc_id":77,"site_id":7},782916,1796317937,{"code":4,"msg":80,"data":81},"success",[82,86,90,94,99,103,108,113,118,121,125],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":83,"show_sort_weight":84,"slug":85},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":87,"show_sort_weight":88,"slug":89},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":91,"show_sort_weight":92,"slug":93},"Exam",70,"exam",{"id":95,"doc_module":4,"doc_module_name":25,"category_name":96,"show_sort_weight":97,"slug":98},5,"Comic",60,"comic",{"id":100,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":101,"slug":102},6,50,"technology",{"id":104,"doc_module":4,"doc_module_name":25,"category_name":105,"show_sort_weight":106,"slug":107},7,"Healthcare",40,"healthcare",{"id":109,"doc_module":4,"doc_module_name":25,"category_name":110,"show_sort_weight":111,"slug":112},8,"Research & Report",30,"research-report",{"id":114,"doc_module":4,"doc_module_name":25,"category_name":115,"show_sort_weight":116,"slug":117},9,"Religion & Spirituality",20,"religion-spirituality",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":119,"show_sort_weight":116,"slug":120},"World Cup","world-cup",{"id":122,"doc_module":4,"doc_module_name":25,"category_name":123,"show_sort_weight":122,"slug":124},10,"Lifestyle","lifestyle",{"id":126,"doc_module":4,"doc_module_name":25,"category_name":127,"show_sort_weight":95,"slug":128},19,"General","general",{"code":4,"msg":80,"data":130},{"doc_id":77,"user_id":131,"nickname":42,"user_avatar":132,"doc_module":4,"category_id":100,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":26,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":138,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":78,"read_time":97,"preview_page_count":33,"preview_urls":143},962085564807,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","| Hyper Text Markup Language (HTML)– Part A\u003Cbr>HTML |  |\n| --- | --- |\n| HTML is the language for designing web pages. It is a language that describes the content, format and layout in which a web page should be displayed over the World Wide Web. HTML5 is the current and latest version of HTML | |\n| What is an HTML File?\u003Cbr>a) HTML is a format that tells a computer how to display a web page.\u003Cbr>b) An HTML file is a text file containing small markup tags.\u003Cbr>c) The markup tags tell the Web browser how to display the page.\u003Cbr>d) An HTML file must have an “. htm” or “. html” file extension.\u003Cbr>What are HTML tags?\u003Cbr>a) HTML tags are used to mark-up HTML elements.\u003Cbr>b) HTML tags are surrounded by the two characters \u003C and > .\u003Cbr>c) HTML tags are normally used in pairs like \u003Cb> and \u003C/b> .\u003Cbr>d) The first tag in a pair is the start tag, the second tag is the end tag as:\u003Ctagname>Content   \u003C/tagname>\u003Cbr>e) HTML tags are not case sensitive, \u003Cb> means the same as \u003CB> .\u003Cbr>f) The terms HTML element and HTML tags are used interchangeable.\u003Cbr>g) HTML tag or HTML elements can be of two types:\u003Cbr>a. Container: Elements that start tag and an end tag.\u003Cbr>Example: \u003Ch1> Heading of the web page \u003C\\h1> .\u003Cbr>b. Empty: Elements that has no content and no end tag.\u003Cbr>Example: \u003Cbr> and \u003Chr> has no content, so end tag not required.\u003Cbr>Structure of and HTML Document\u003Cbr>\u003C!DOCTYPE html> \u003Chtml> \u003Chead> \u003Ctitle> Page Title \u003C/title> \u003C/head>\u003Cbody> Element that defines the content of web page \u003C/body> \u003C/html>\u003Cbr>• \u003C!DOCTYPE html>: This defines that this document is an HTML5 document.\u003Cbr>• The visible part of the HTML document that is displayed on the browser window is enclosed between \u003Cbody> and \u003C/body> . |  |\n\nTag Description  \nHTML Tag Type Description / Use  \nHTML Attributes  \nHTML attributes is a special word used inside an HTML tag and which specifies additional information about HTML elements such as color, alignment, height, width, src, etc. HTML elements may or may not have attributes. Attributes are always specified in the start tag.  \nBackground Color and Text Color  \n\u003Cbody bgcolor=\"specify color here\" > tag is used to change the background color of an html page.  \nFor example: \u003Cbody bgcolor =\"yellow\"> makes background yellow.  \n\u003Cbody text=”specify color here”> changes text color.  \nFor example: \u003Cbody text=\"green\"> makes text to appear in green.  \nParagraph Alignment  \n\u003Cp align=left/right/center> is used to display paragraph alignment in html.  \n\n|  |  |  |\n| --- | --- | --- |\n| \u003Chtml> | Container | This tag marks the start and end of an html document |\n| \u003Chead> | Container | This tag represents the document's header which can keep other HTML tags like \u003Ctitle> , \u003Clink> , etc. |\n| \u003Ctitle> | Container | This tag is used inside the \u003Chead> tag to mention the document title (on Title bar in browser window) . |\n| \u003Cbody> | Container | This tag represents the document's body which keeps all the contents of a web page such as text, images, etc. |\n| \u003CHn> | Container | This tag represents the heading tags of different sizes, where n is the number start from 1 to 6 like \u003CH1> , \u003CH2>  … \u003CH6> . |\n| \u003Ccenter> | Container | This tag is used to display a line or text in center. |\n| \u003Cp> | Container | This tag represents a paragraph. |\n| \u003Cbr> | Empty | This tag is used to insert new line or insert enter in html. |\n| \u003Chr> | Empty | This tag is used to display a straight horizontal line or horizontal rule across the web page for separating content on the web page |\n|  |  |  |\n| Bold, Italics, Underline, Superscript & Subscript: |  |  |\n| \u003Cb> | Container | This tag is used to make a text bold in html. |\n| \u003Ci> | Container | This tag is used to make a text italic in html. |\n| \u003Cu> | Container | This tag is used to make a text underlined in html. |\n| \u003Csup> | Container | This tag is used to make a text superscript. Example: if x2 is to be displayed, then the code is x\u003Csup>2\u003C/sup> . |\n\n\n| \u003Csub> | Container | This tag is used to make a text subscript. Example: if H2 O is to be display","cbCaigROSLnP2PEL","https://ap.wps.com/l/cbCaigROSLnP2PEL","pdf",821184,24,"English","# HTML fundamentals\n## HTML files, tags, and elements\n## Document structure and attributes\n## Common elements and formatting\n## Creating and saving webpages\n## Assignments","[{\"question\":\"What is an HTML file?\",\"answer\":\"It is a text file containing markup tags that tell a web browser how to display a webpage. Its file extension is typically .htm or .html.\"},{\"question\":\"What is the difference between container and empty elements?\",\"answer\":\"Container elements have opening and closing tags and may contain content. Empty elements, such as \\u003cbr\\u003e and \\u003chr\\u003e, have no content and do not require a closing tag.\"},{\"question\":\"How can a learner create and open a first webpage?\",\"answer\":\"Write the HTML in Notepad, save the file with an .html extension, locate the saved file, and double-click it to open it in a browser.\"}]","Class X - HTML Part A - Part 2 - HTML basics | PDF",[144,148,152,156],{"page_no":22,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-03/0230cf2e08fe601fbaf231529f02d77d.webp",983,1390,{"page_no":26,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-03/601c61a082979d907759925e33dbf1fc.webp",982,1388,{"page_no":30,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-03/256857f24942484e0a9adb851a7a2a6d.webp",981,1387,{"page_no":33,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-03/4cc974c6ba496268ffee583ecc7c9191.webp",980,1385,{"list":161,"token":11},[162,168,174,179,186,192,198,204,211,217],{"doc_id":163,"doc_title":164,"file_type":136,"home_preview_img_url":165,"slug":166,"view_count":30,"category_name":29,"create_tm":167},689120,"DIPLOMA IN COMPUTER APPLICATION - WEB-DESIGN - Block 1 - HYPER TEXT MARKUP LANGUAGE (HTML)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001516703/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333759&Signature=nTCv%2BEiPVBENPaS2P89%2FnYCRTxY%3D","diploma-in-computer-application-web-design-block-1-hyper-text-markup-language-html",1794097032,{"doc_id":169,"doc_title":170,"file_type":136,"home_preview_img_url":171,"slug":172,"view_count":104,"category_name":29,"create_tm":173},697996,"HTML Workbook - Version 3 - English Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010150973/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333759&Signature=gg0mB0ge0YmuWwlG8vjoTELLEis%3D","html-workbook-version-3-english-edition",1794446792,{"doc_id":175,"doc_title":176,"file_type":136,"home_preview_img_url":177,"slug":178,"view_count":26,"category_name":29,"create_tm":78},782917,"HTML","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230055163608/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333759&Signature=Wq%2BTn6xH5nRuZpT3z9OM5mwYQ8M%3D","html-68340d77e05343d685a372ae1533fba7",{"doc_id":180,"doc_title":181,"file_type":136,"home_preview_img_url":182,"slug":183,"view_count":184,"category_name":29,"create_tm":185},685817,"Introduction to HTML - Part 1 - HTML Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000216087/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333759&Signature=MZoprdgqJFFoU6aAITCpfIXkzdo%3D","introduction-to-html-part-1-html-basics",11,1794018870,{"doc_id":187,"doc_title":188,"file_type":136,"home_preview_img_url":189,"slug":190,"view_count":26,"category_name":29,"create_tm":191},782918,"202005171817289765Priyanka-WT-HTML Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230055013608/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333759&Signature=6hPaqddcyDXwK89M96G0DkItLNA%3D","202005171817289765priyanka-wt-html-basics",1796317942,{"doc_id":193,"doc_title":194,"file_type":136,"home_preview_img_url":195,"slug":196,"view_count":104,"category_name":29,"create_tm":197},732850,"UNIT I - INTRODUCTION TO HTML - HTML Basics and Structure","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031779817/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333759&Signature=SdFiMxJ5KZbiG0jDleJgNXBc8uU%3D","unit-i-introduction-to-html-html-basics-and-structure",1795382472,{"doc_id":199,"doc_title":200,"file_type":136,"home_preview_img_url":201,"slug":202,"view_count":33,"category_name":29,"create_tm":203},697982,"Essential HTML Tags - Page 1 - Apply appropriate HTML tags","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010150459/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333759&Signature=wiHXPc1KWM1C8lfJP4ZHicXfTyE%3D","essential-html-tags-page-1-apply-appropriate-html-tags",1794446726,{"doc_id":205,"doc_title":206,"file_type":136,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},346438,"Introduction to HTML - Basic Concepts and Examples","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911195333/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333759&Signature=3b7eUbWPrq208b4TTJO5S4X5Fvc%3D","introduction-to-html-basic-concepts-and-examples",12,1790061454,{"doc_id":212,"doc_title":213,"file_type":136,"home_preview_img_url":214,"slug":215,"view_count":100,"category_name":29,"create_tm":216},681947,"Beginners Guide to HTML - Getting Started and Core HTML Concepts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998408617/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333759&Signature=wRhFvMgDi0FVocn1Ko%2F1iXOyQFc%3D","beginners-guide-to-html-getting-started-and-core-html-concepts",1793957217,{"doc_id":218,"doc_title":219,"file_type":136,"home_preview_img_url":220,"slug":221,"view_count":104,"category_name":29,"create_tm":222},732848,"Basic HTML — Complete Notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031412591/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796333759&Signature=Z7g0s2s8ahPueICGoN7Ig2SG7rM%3D","basic-html-complete-notes",1795382441]