[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-detail-699461-en":59,"doc-seo-699461-105":102,"doc-similar-699461":165},{"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":5,"data":60},{"doc_id":61,"user_id":62,"nickname":63,"user_avatar":64,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":66,"doc_content":67,"file_id":68,"file_url":69,"file_type":70,"file_size":71,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":72,"language":73,"language_code":74,"site_id":75,"html_lang":74,"table_of_contents":76,"faqs":77,"seo_title":78,"seo_description":66,"update_tm":79,"read_time":80,"preview_page_count":24,"preview_urls":81},699461,962090893776,"LangkahRina","https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","CSS Cascading Style Sheets - Basic CSS Properties Syntax and Usage","CASCADING STYLE SHEETS (CSS) focuses on how to define and apply web page presentation using CSS rather than HTML content. The material explains core concepts such as selectors, CSS property rules, and basic syntax like selector { property: value; }. It compares HTML’s role describing page content with CSS controlling layout and appearance, then shows how to attach external style sheets via \u003Clink>, embed styles with \u003Cstyle> inside the HTML head, and apply inline styles through the style attribute with higher precedence.","CASCADING STYLE SHEETS (CSS)  \nOverview  \n2  \n􀀡 Basic CSS  \n􀀡 CSS Properties  \n􀀡 More CSS Syntax  \n3 Basic CSS  \nThe good, the bad and the…ugly!  \n4  \n\u003Cp>  \n\u003Cfont face=\"Arial\">Shashdot .\u003C/font>  \nNews for \u003Cb>nerds!!\u003C/b> You will \u003Ci>never\u003C/i> , \u003Cu>EVER\u003C/u> be  \n\u003Cfont size=\"+4\" color=\"red\">BORED\u003C/font> here!\u003C/p> HTML  \nSlashdot. News for nerds!! You will never,  EVER be BORED here!  \noutput  \n􀀡 Tags such as b, i, u, and font are discouraged in strict XHTML  \n􀀡 Why is this bad?  \nCascading Style Sheets (CSS)  \n5  \n􀀡 Describes the appearance, layout, and presentation of information on a web page  \n􀀡 HTML describes the content of the page  \n􀀡 Describes how information is to be displayed, not what is being displayed  \n􀀡 Can be embedded in HTML document or placed into separate .css file  \nBasic CSS rule syntax  \n6  \nselector {  \nproperty: value;  \nproperty: value;  \n...  \nproperty: value;  \n} CSS  \np {  \nfont-family: sans-serif;  \ncolor: red;  \n} CSS  \n􀀡 A CSS file consists of one or more rules  \n􀀡 Each rule starts with a selector  \n􀀡 A selector specifies an HTML element(s) and then applies style properties to them  \n􀀡 a selector of * selects all elements  \nAside: Favorites icon (\"favicon\")  \n7  \n\u003Clink href=\"filename\" type=\"MIME type\" rel=\"shortcut icon\" />  \nHTML  \n\u003Clink href=\"yahoo.gif\" type=\"image/gif\" rel=\"shortcut icon\" />  \nHTML  \n􀀡 The link tag, placed in the HTML page's head section, can specify an icon  \n􀀡 this icon will be placed in the browser title bar and bookmark/favorite  \nAttaching a CSS file \u003Clink>  \n8  \n\u003Chead>  \n...  \n\u003Clink href=\"filename \" type=\"text/css \" rel=\"stylesheet \" />...  \n\u003C/head> HTML  \n\u003Clink href=\"style .css\" type=\"text/ css\" rel=\"stylesheet\" />\u003Clink href=\"[http://www.google.com/uds/css/gsearch.css](http://www.google.com/uds/css/gsearch.css)\"rel=\"stylesheet\" type=\"text/ css\" />  \nHTML  \n􀀡 A page can link to multiple style sheet files  \n􀀡 In case of a conflict (two sheets define a style for the same HTML element), the latter sheet's properties will be used  \nEmbedding style sheets: \u003Cstyle>  \n9  \n\u003Chead>  \n\u003Cstyle type=\"text/css\">  \np { font-family: sans-serif; color: red; } h2 { background-color: yellow; }  \n\u003C/style>  \n\u003C/head>  \nHTML  \n􀀡 CSS code can be embedded within the head of an HTML page  \n􀀡 Bad style and should be avoided when possible (why?)  \nInline styles: the style attribute  \n10  \n\u003Cp style=\"font-family: sans-serif; color: red;\" > This is a paragraph\u003C/p>  \nHTML  \nThis is a paragraph  \noutput  \n􀀡 Higher precedence than embedded or linked styles  \n􀀡 Used for one-time overrides and styling a particular element  \n􀀡 Bad style and should be avoided when possible (why?)","cbCaiuHRFhPzRgDs","https://ap.wps.com/l/cbCaiuHRFhPzRgDs","pdf",763519,43,"English","en",105,"# Overview\n## Basic CSS\n## CSS Properties\n## More CSS Syntax\n# Basic CSS\n## Basic CSS rule syntax\n## Aside: Favorites icon (favicon)\n## Attaching a CSS file \u003Clink>\n## Embedding style sheets: \u003Cstyle>\n## Inline styles: the style attribute","[{\"question\":\"What does CSS describe compared with HTML?\",\"answer\":\"CSS describes the appearance, layout, and presentation of information on a web page, while HTML describes the content of the page.\"},{\"question\":\"How does the basic CSS rule syntax work?\",\"answer\":\"A CSS file consists of one or more rules. Each rule starts with a selector, followed by a block like selector { property: value; }.\"},{\"question\":\"How can CSS be included in an HTML page?\",\"answer\":\"CSS can be attached via a \\u003clink\\u003e element, embedded using a \\u003cstyle\\u003e block in the HTML head, or applied inline using the style attribute on a specific element.\"}]","CSS Cascading Style Sheets - Basic CSS Properties Syntax and Usage | PDF",1794468363,108,[82,86,89,94,98],{"page_no":8,"url":83,"width":84,"height":85},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/2c5dca94508080016c43fe5705ffc15a.webp",983,736,{"page_no":14,"url":87,"width":88,"height":85},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/98c1da81b8a8f1e428bc7c3bcfeddbaf.webp",982,{"page_no":90,"url":91,"width":92,"height":93},3,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/796636d08fbe243b8233339670c04a64.webp",981,735,{"page_no":19,"url":95,"width":96,"height":97},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/99d3f65c3344147ece87b080eb18e72a.webp",980,734,{"page_no":24,"url":99,"width":100,"height":101},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/d59bfa0582fc115c6d7ac271357ca2e9.webp",979,733,{"code":4,"msg":103,"data":104},"ok",{"site_id":75,"language":74,"slug":105,"title":65,"keywords":106,"description":66,"schema_data":107,"social_meta":160,"head_meta":162,"extra_data":164,"updated_unix":79},"css-cascading-style-sheets-basic-css-properties-syntax-and-usage","",{"@graph":108,"@context":159},[109,122,142],{"@type":110,"itemListElement":111},"BreadcrumbList",[112,116,118,120],{"item":113,"name":114,"@type":115,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":117,"name":9,"@type":115,"position":14},"https://docshare.wps.com/document/",{"item":119,"name":30,"@type":115,"position":90},"https://docshare.wps.com/document/technology/",{"item":121,"name":65,"@type":115,"position":19},"https://docshare.wps.com/document/css-cascading-style-sheets-basic-css-properties-syntax-and-usage/699461/",{"url":121,"name":65,"@type":123,"image":124,"author":129,"headline":65,"publisher":131,"fileFormat":134,"inLanguage":74,"description":66,"dateModified":135,"datePublished":136,"encodingFormat":134,"isAccessibleForFree":137,"interactionStatistic":138},"DigitalDocument",{"url":125,"@type":126,"width":127,"height":128},"https://docshare.wps.com/thumbnails/css-cascading-style-sheets-basic-css-properties-syntax-and-usage/699461.png","ImageObject",300,407,{"name":63,"@type":130},"Person",{"url":113,"name":132,"@type":133},"DocShare","Organization","application/pdf","2026-11-30","2026-11-12",true,{"@type":139,"interactionType":140,"userInteractionCount":29},"InteractionCounter",{"@type":141},"ViewAction",{"@type":143,"mainEntity":144},"FAQPage",[145,151,155],{"name":146,"@type":147,"acceptedAnswer":148},"What does CSS describe compared with HTML?","Question",{"text":149,"@type":150},"CSS describes the appearance, layout, and presentation of information on a web page, while HTML describes the content of the page.","Answer",{"name":152,"@type":147,"acceptedAnswer":153},"How does the basic CSS rule syntax work?",{"text":154,"@type":150},"A CSS file consists of one or more rules. Each rule starts with a selector, followed by a block like selector { property: value; }.",{"name":156,"@type":147,"acceptedAnswer":157},"How can CSS be included in an HTML page?",{"text":158,"@type":150},"CSS can be attached via a \u003Clink> element, embedded using a \u003Cstyle> block in the HTML head, or applied inline using the style attribute on a specific element.","https://schema.org",{"og:url":121,"og:type":161,"og:title":65,"og:site_name":132,"og:description":66},"article",{"robots":163,"canonical":121},"index,follow",{"doc_id":61,"site_id":75},{"list":166,"token":106},[167,173,179,185,191,197,203,209,215,221],{"doc_id":168,"doc_title":169,"file_type":70,"home_preview_img_url":170,"slug":171,"view_count":24,"category_name":30,"create_tm":172},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=1796111999&Signature=WKx1GXY99zljcKwroKknQsdNau4%3D","internet-fundamentals-introduction-to-web-technologies-lecture-3-cascading-style-sheets",1794019250,{"doc_id":174,"doc_title":175,"file_type":70,"home_preview_img_url":176,"slug":177,"view_count":29,"category_name":30,"create_tm":178},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=1796111999&Signature=8NSxiPH2GSPijgEC62uPA3Jcllw%3D","basic-css-lecture-4-css-styling-fundamentals",1794468368,{"doc_id":180,"doc_title":181,"file_type":70,"home_preview_img_url":182,"slug":183,"view_count":29,"category_name":30,"create_tm":184},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=1796111999&Signature=bKEhzavb4mMRJaDMluUHhxW4M7I%3D","cascading-style-sheets-css-cs142-lecture-notes-css-1-driving-problem-behind-css",1794246439,{"doc_id":186,"doc_title":187,"file_type":70,"home_preview_img_url":188,"slug":189,"view_count":90,"category_name":30,"create_tm":190},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=1796111999&Signature=9u2kTIYmhKwAh7kMa3qSw1zFFnU%3D","css-applying-basic-styles",1794061500,{"doc_id":192,"doc_title":193,"file_type":70,"home_preview_img_url":194,"slug":195,"view_count":19,"category_name":30,"create_tm":196},693038,"HTML Styles-CSS - learn cascading style sheets","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005053917/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=C3%2BjMqWitFmFhT7u9pIzMhe0auc%3D","html-styles-css-learn-cascading-style-sheets",1794246445,{"doc_id":198,"doc_title":199,"file_type":70,"home_preview_img_url":200,"slug":201,"view_count":39,"category_name":30,"create_tm":202},703167,"CSS From A To Z - Introduction to CSS - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013426264/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=se%2F1vuy8LeGqsQMdJf5xHSxB5mg%3D","css-from-a-to-z-introduction-to-css-read-online-free",1794561915,{"doc_id":204,"doc_title":205,"file_type":70,"home_preview_img_url":206,"slug":207,"view_count":19,"category_name":30,"create_tm":208},699459,"Unit 3 - Cascading Style Sheets (CSS) - Lecture","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011003387/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=brdp98BO9zrvHwCxh0UuJRHkaOk%3D","unit-3-cascading-style-sheets-css-lecture",1794468356,{"doc_id":210,"doc_title":211,"file_type":70,"home_preview_img_url":212,"slug":213,"view_count":90,"category_name":30,"create_tm":214},699457,"Style Sheets - Session Objectives - Create and Use Different Types of Style Sheets","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011003368/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=7ZPIMFnqsxsn2Qh6f8RmL%2BTqvks%3D","style-sheets-session-objectives-create-and-use-different-types-of-style-sheets",1794468352,{"doc_id":216,"doc_title":217,"file_type":70,"home_preview_img_url":218,"slug":219,"view_count":19,"category_name":30,"create_tm":220},693040,"CSS Tutorial Part 1 - Introduction - Adding Style to a Web Page","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005053964/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=wQopp5jYHaWSkM4hLU2RqBieRY8%3D","css-tutorial-part-1-introduction-adding-style-to-a-web-page",1794246453,{"doc_id":222,"doc_title":223,"file_type":70,"home_preview_img_url":224,"slug":225,"view_count":29,"category_name":30,"create_tm":226},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=1796111999&Signature=A35ysAM%2ByEb7PdnzMQ6re4%2BtX4g%3D","dca-04-block-2-web-design-unit-3-getting-started-with-css",1794019251]