[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-699457-105":59,"doc-detail-699457-en":130,"doc-similar-699457":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","style-sheets-session-objectives-create-and-use-different-types-of-style-sheets","Style Sheets - Session Objectives - Create and Use Different Types of Style Sheets","","Style Sheets learning material focuses on describing and using style sheets in web pages. It covers the benefits of style sheets and shows how to create and use different types, including incorporating rules within HTML, embedding, linking to external files, and importing. The content explains form meaning and controls, then introduces style sheet syntax (Selector and Declaration), and key selector types such as HTML selectors, class selectors, and ID selectors, plus contextual styling.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/style-sheets-session-objectives-create-and-use-different-types-of-style-sheets/699457/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/style-sheets-session-objectives-create-and-use-different-types-of-style-sheets/699457.png","ImageObject",300,407,{"name":92,"@type":93},"RuangKosong","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-16","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is a style sheet and what does its syntax look like?","Question",{"text":112,"@type":113},"A style sheet is a collection of formatting styles. Its syntax follows a Selector {Declaration} structure, using Property: Value pairs.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What are the different ways to incorporate style sheets?",{"text":117,"@type":113},"Style information can be included within HTML, embedded in the page, linked to an external style sheet, or imported from another style sheet.",{"name":119,"@type":110,"acceptedAnswer":120},"How do class selectors and ID selectors work in CSS?",{"text":121,"@type":113},"A class selector uses a dot (.) before the class name, allowing styles to target specific parts of a document. An ID selector uses a hash (#) and applies styles based on the element’s id attribute.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},699457,1794468352,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},962090883219,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Style Sheets  \nSession Objectives  \n Describe and use Style Sheets  \n List the benefits of using Style sheets  \n Create and Use different types of style sheets  \n Explain meaning of a form and its usage  \n Discuss controls ofa form  \n2 of 36  \nIntroduction  \n3 of 36  \nIndividual Elements in Page  \nFormatting styles like fonts, colors in Web Pages  \nTo affect the entire document  \nStyle Sheets  \n4 of 36  \nStyle Sheet  \nStyle Sheet-A collection of formatting styles  \nSyntax: Selector {Declaration}  \nProperty:Value  \nWays of Incorporating Style Sheets  \n Including style information within HTML  \n Embedding a Style Sheets  \n Linking to an external style sheet  \n Importing a style sheet  \n5 of 36  \nTypes of Selectors  \nSelectors  \nSimple Selector HTML Selector Class Selector  \nUniversal Selector  \n6 of 36  \nHTML Selector  \nP {Color:Blue} Uses names of HTML Elements  \nSimple Selector  \n\u003CP> {Color:Blue}  \nHTML Selector  \n\u003CHTML>  \n\u003CHEAD>  \n\u003CSTYLE TYPE=\"text/css\"> P {font-style:italic;  \nfontweight:bold;  \ncolor:limegreen}\u003C/STYLE>  \n\u003C/HEAD>  \n\u003CBODY>  \n\u003CP>These selectors use the names of HTML elements. The only difference is that you remove the brackets.  \n\u003C/P>  \n\u003C/BODY>  \n\u003C/HTML>  \n7 of 36  \nClass Selector  To apply styles to specific parts of a document  \n8 of 36  \n\u003CHEAD>  \n\u003CSTYLE TYPE=\"text/css\">  \n.note { color: blue }  \n.syntax { color: red } p.syntax {color:red} P{font-size: large}  \n\u003C/STYLE>  \n\u003C/HEAD>  \n\u003CBODY>  \n\u003CP class=\"syntax\">The CLASS Selector is preceded with a dot (.) called the flag character, followed by the 'class name’of your choice  \n\u003CP class=\"note\">It is better to choose class names according to their purpose rather thana name that describes their colour or style  \n\u003CH1 class=\"note\"> The class attribute is used even  \nto the heading tag \u003CH1>  \n\u003C/HTML>  \nID Selectors  \nAn ID selector is preceded by a hash (\\#) mark and to apply ID selector the ID attribute of an HTML element is used  \n\u003CHEAD>  \n\u003CSTYLE TYPE=\"text/css\">  \n\\#control { color: red }\u003C/STYLE>  \n\u003CH2 id=\"control\">Fire is this colour\u003C/H2>  \n\u003CH2>The browser controlled display of an H2 heading\u003C/H2>  \n\u003CP id=\"control\">Applying an ID to a paragraph element\u003C/P>  \n\u003CP>This paragraph has no style applied\u003C/P>  \n\u003C/BODY>  \n\u003C/HTML>  \n9 of 36  \nContextual Selectors  \nselectors\u003C/TITLE>  \n\u003CHTML>  \n\u003CHEAD>  \n\u003CTITLE>Contextual  \n\u003CHEAD>  \n\u003CSTYLE TYPE=\"text/css\">  \nBODY { color:magenta;  \nbackground:dimgray;  \nfont-family:Arial;}  \nUL {  \ncolor:aqua  \n}\u003C/STYLE>  \n\u003CBODY>\u003CUL>  \n\u003CLI> mangoes  \n\u003CLI> oranges  \n\u003CLI> apples  \n\u003C/UL>\u003COL>  \n\u003CLI> mangoes  \n\u003CLI> oranges  \n\u003CLI> apples  \n\u003C/OL>  \n\u003C/BODY>  \n10 of 36","cbCail5CGIHsc6GG","https://ap.wps.com/l/cbCail5CGIHsc6GG","pdf",807836,34,"English","# Session Objectives\n## Describe and use Style Sheets\n## Benefits and different types\n# Style Sheet Basics\n## Syntax: Selector {Declaration}\n## Property: Value\n# Ways of Incorporating Style Sheets\n## Including within HTML\n## Embedding\n## Linking to external\n## Importing\n# Types of Selectors\n## Universal and simple selectors\n## HTML selectors\n## Class selector\n## ID selector\n## Contextual selectors","[{\"question\":\"What is a style sheet and what does its syntax look like?\",\"answer\":\"A style sheet is a collection of formatting styles. Its syntax follows a Selector {Declaration} structure, using Property: Value pairs.\"},{\"question\":\"What are the different ways to incorporate style sheets?\",\"answer\":\"Style information can be included within HTML, embedded in the page, linked to an external style sheet, or imported from another style sheet.\"},{\"question\":\"How do class selectors and ID selectors work in CSS?\",\"answer\":\"A class selector uses a dot (.) before the class name, allowing styles to target specific parts of a document. An ID selector uses a hash (#) and applies styles based on the element’s id attribute.\"}]","Style Sheets - Session Objectives - Create and Use Different Types of Style Sheets | PDF",86,[146,150,153,157],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/abf4cd28a4289fe3139c562d25b7d66d.webp",983,736,{"page_no":14,"url":151,"width":152,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f0977802f961022e80ec70a01d7be40e.webp",982,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f2a7a667f8e79810515395e5318d0cd1.webp",981,735,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/b0a355e5f30813bb2010d8f82a9b3428.webp",980,734,{"list":162,"token":66},[163,169,175,181,187,193,199,205,211,217],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":29,"category_name":30,"create_tm":168},693037,"Cascading Style Sheets (CSS) - CS142 Lecture Notes - CSS 1 - Driving problem behind CSS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230004257728/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=ZXjC8H8%2F6b5sqLCyHVhwawaPdqI%3D","cascading-style-sheets-css-cs142-lecture-notes-css-1-driving-problem-behind-css",1794246439,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":29,"category_name":30,"create_tm":174},699461,"CSS Cascading Style Sheets - Basic CSS Properties Syntax and Usage","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011003513/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=TqVRWXvAlseHQgO57C87ZzJmImI%3D","css-cascading-style-sheets-basic-css-properties-syntax-and-usage",1794468363,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":29,"category_name":30,"create_tm":180},699464,"Basic CSS - Lecture 4 - CSS Styling Fundamentals","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010042266/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=5kRDDXxRE55mkLvTLcVcPZ88Dhk%3D","basic-css-lecture-4-css-styling-fundamentals",1794468368,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":24,"category_name":30,"create_tm":186},685836,"Internet Fundamentals - Introduction to Web Technologies - Lecture 3 - Cascading Style Sheets","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999697016/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=vK6valSOsnEqjYZhBQRLolSgItc%3D","internet-fundamentals-introduction-to-web-technologies-lecture-3-cascading-style-sheets",1794019250,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":24,"category_name":30,"create_tm":192},693042,"CSS - Quick Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005053987/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=FkK2UUSOz7tJzl5L50zP9j1cu7Q%3D","css-quick-guide",1794246459,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":29,"category_name":30,"create_tm":198},685839,"DCA-04 Block 2 - WEB-DESIGN - Unit-3 - Getting Started With CSS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000223066/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=ktNZ3vefHULKYWiGnO5dpZHrN7s%3D","dca-04-block-2-web-design-unit-3-getting-started-with-css",1794019251,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":29,"category_name":30,"create_tm":204},703161,"Cascading Style Sheets (CSS) Course Syllabus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013426121/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=0n0Wjvu2QYsORf%2BzxhG1aOPmvQQ%3D","cascading-style-sheets-css-course-syllabus",1794561905,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":34,"category_name":30,"create_tm":210},693041,"How To Build a Website with CSS and HTML","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005053985/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=4anxp19u0ELgSYisdNdmPcECyy0%3D","how-to-build-a-website-with-css-and-html",1794246454,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":81,"category_name":30,"create_tm":216},686721,"CSS - Applying Basic Styles","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001090655/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=4A9fRDTLee1pQTr77PRKWZENXKo%3D","css-applying-basic-styles",1794061500,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":39,"category_name":30,"create_tm":222},697991,"Learn to Code - HTML & CSS - Develop & Style Websites","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010150974/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=ha4Ey3221fogPsCmS9M%2FE%2BDYY5A%3D","learn-to-code-html-css-develop-style-websites",1794446750]