[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-693041-105":59,"doc-detail-693041-en":130,"doc-similar-693041":226},{"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","how-to-build-a-website-with-css-and-html","How To Build a Website with CSS and HTML","","Project-based guide to learning Cascading Style Sheets (CSS) by building a personal website using a demonstration site as a model. Introduces CSS fundamentals and how CSS works with HTML, then leads through practical exercises and step-by-step recreation of a full HTML/CSS website. Covers setting up a practice project, creating CSS rules, declaring values, styling images, classes, IDs, pseudo-classes, and key layout sections, ending with deployment-ready files.",{"@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/how-to-build-a-website-with-css-and-html/693041/",{"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/how-to-build-a-website-with-css-and-html/693041.png","ImageObject",300,407,{"name":92,"@type":93},"Oliver","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-30","2026-11-09",true,{"@type":102,"interactionType":103,"userInteractionCount":34},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the book’s main goal for readers?","Question",{"text":112,"@type":113},"To teach CSS through hands-on exercises and by recreating a demonstration website, resulting in files ready for deploying a website to the cloud.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Which technologies does the book focus on?",{"text":117,"@type":113},"It centers on CSS and HTML, describing CSS as a stylesheet language used to control website presentation, alongside basic use of supporting web technologies.",{"name":119,"@type":110,"acceptedAnswer":120},"What prerequisites are recommended before starting?",{"text":121,"@type":113},"A code editor (default Visual Studio Code or Atom), a web browser (default Firefox or Chrome), optional personal images/avatars, and familiarity with HTML (or a refresher using an earlier HTML tutorial series).","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},693041,1794246454,{"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":34,"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":145,"preview_urls":146},8796095461610,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.  \nISBN 978-1-7358317-1-8  \nHow To Build a Website with CSS and  \nHTML  \nErin Glass  \nDigitalOcean, New York City, New York, USA  \n2020-11  \nHow To Build a Website with CSS and HTML  \n1. About DigitalOcean  \n2. Introduction  \n3. A Brief Introduction To CSS  \n4. How To Set Up Your CSS and HTML Practice Project With a Code Editor  \n5. How To Understand and Create CSS Rules  \n6. How To Declare Values For Multiple Properties In a CSS Rule  \n7. How To Style Images With CSS  \n8. How To Create Classes With CSS  \n9. How To Create IDs with CSS  \n10. How To Create Pseudo-classes With CSS  \n11. How To Style the HTML \u003Cdiv> element with CSS  \n12. How To Adjust the Content, Padding, Border, and Margins of an HTML Element With CSS  \n13. How To Set Up Your CSS and HTML Website Project  \n14. An Overview of Our Demonstration HTML and CSS Website  \n15. How To Style the Body of a Website With CSS  \n16. How To Build the Header Section of Your Website With CSS (Section 1)  \n17. How To Build the About Me Section of Your Website With CSS (Section 2)  \n18. How To Build a Tiled Layout With CSS (Section 3)  \n19. How To Add a Resume or Employment History Section To Your Website With CSS (Section 4)  \n20. How To Add Your Educational History and Skills To Your Website Using CSS (Section 5)  \n21. How To Create a Featured Quote Box On Your Website Using CSS (Section 6)  \n22. How To Create a Static Footer With HTML and CSS (Section 7)  \nAbout DigitalOcean  \nDigitalOcean is a cloud services platform delivering the simplicity developers love and businesses trust to run production applications at scale. It provides highly available, secure and scalable compute, storage and networking solutions that help developers build great software faster. Founded in 2012 with offices in New York and Cambridge, MA, DigitalOcean offers transparent and affordable pricing, an elegant user interface, and one of the largest libraries of open source resources available. For more information, please visit [https://www.digitalocean.com](https://www.digitalocean.com or)[ or](https://www.digitalocean.com or) follow @digitalocean on Twitter.  \nIntroduction  \nAbout this Book  \nThis project-based book will introduce you to Cascading Style Sheets (CSS), a stylesheet language used to control the presentation of websites, by building a personal website using our demonstration site as a model. Though our demonstration site features Sammy the Shark, you can switch out Sammy’s information with your own if you wish to personalize your site.  \nGif of CSS demonstration site  \nAlongside HTML and JavaScript, CSS is one of the core technologies of the World Wide Web. If you have some understanding of HTML and are looking to grow your front-end development skills, learning CSS is a great next step.  \nThe first half of this book will introduce CSS through hands-on exercisesand the second half of the book will provide steps for recreating the demonstration website. If you want to start building the demonstration website right away, you can start with the chapter How To Set Up Your CSS and HTML Website Project and proceed from there.  \nBy the end of this CSS book, you will have files ready for deploying a website to the cloud, as well as an understanding of how to continue modifying the site’s design with HTML and CSS. You will also have a foundation for learning additional front-end web development skills (such as JavaScript) and frameworks (like Tailwind) .  \nPrerequisites  \n A code editor like Visual Studio Code or Atom. This series will use Visual Studio Code as our default code editor but you may use any code editor you like. Certain instructions may need to be slightly modified if you use a different editor.  \n A web browser like Firefox or Chrome. This book will use Firefox as our default browser but you may use any browser you like. Certain instructions may need to be slightly modified if","cbCaiacBqO9nV5rl","https://ap.wps.com/l/cbCaiacBqO9nV5rl","pdf",13717328,172,"English","# About DigitalOcean\n# Introduction\n## About this Book\n## Prerequisites\n# A Brief Introduction To CSS\n## History of CSS\n## How CSS Works With HTML","[{\"question\":\"What is the book’s main goal for readers?\",\"answer\":\"To teach CSS through hands-on exercises and by recreating a demonstration website, resulting in files ready for deploying a website to the cloud.\"},{\"question\":\"Which technologies does the book focus on?\",\"answer\":\"It centers on CSS and HTML, describing CSS as a stylesheet language used to control website presentation, alongside basic use of supporting web technologies.\"},{\"question\":\"What prerequisites are recommended before starting?\",\"answer\":\"A code editor (default Visual Studio Code or Atom), a web browser (default Firefox or Chrome), optional personal images/avatars, and familiarity with HTML (or a refresher using an earlier HTML tutorial series).\"}]","How To Build a Website with CSS and HTML | PDF",433,18,[147,151,155,159,163,167,171,175,179,183,187,192,197,202,207,212,217,222],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/3366bd04337671303ff6faf78fd80eb6.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/1db44c1fe78b45b964de43dc592c0c03.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/7b42465cfaac1ca3938b1ad42655ef8e.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/5a720e4e3254be992132960f4317dffe.webp",980,1268,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/12a8cc66e9df10aa48ef655c0b65040c.webp",979,1267,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/6d7d74aa74f3d6408b8ab77445db8546.webp",978,1265,{"page_no":34,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/f090c5a00faabb6b1f72d22b6ad9d182.webp",977,1264,{"page_no":39,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b804da704c18be5c618725fa135ea11c.webp",976,1263,{"page_no":44,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/bc3df46984872c9d88991d1df49b606a.webp",975,1261,{"page_no":52,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/ea8a1de789718423d784f23c80af9db8.webp",974,1260,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/dc25a933a7daae5a877d7f104fdf71a8.webp",973,1259,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/700630fa1474a3ed53cc534e57b9aa8b.webp",972,1257,{"page_no":198,"url":199,"width":200,"height":201},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/67b38acc291b5b3316b99ea2a0c21095.webp",971,1256,{"page_no":203,"url":204,"width":205,"height":206},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/5b3d8749a3004a96c21e5dbc3ef6ccc7.webp",970,1255,{"page_no":208,"url":209,"width":210,"height":211},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/d7fd021aee2f18c43254265fa38c8d8b.webp",969,1254,{"page_no":213,"url":214,"width":215,"height":216},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/adda94f34fb864b76a4518efcc9c163b.webp",968,1252,{"page_no":218,"url":219,"width":220,"height":221},17,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/675d6d86c2ab75f44364057401bb1887.webp",967,1251,{"page_no":145,"url":223,"width":224,"height":225},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/f53e1dc78c0500687b7cbf3759b848dd.webp",966,1250,{"list":227,"token":66},[228,234,240,246,252,258,264,270,276,282],{"doc_id":229,"doc_title":230,"file_type":137,"home_preview_img_url":231,"slug":232,"view_count":29,"category_name":30,"create_tm":233},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=1796110559&Signature=Mg2Y6EBv35iYPvYToBXhBsODVtk%3D","cascading-style-sheets-css-cs142-lecture-notes-css-1-driving-problem-behind-css",1794246439,{"doc_id":235,"doc_title":236,"file_type":137,"home_preview_img_url":237,"slug":238,"view_count":29,"category_name":30,"create_tm":239},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=1796110559&Signature=ydtAt9cSxqP0WxQq52HNsl7stQI%3D","basic-css-lecture-4-css-styling-fundamentals",1794468368,{"doc_id":241,"doc_title":242,"file_type":137,"home_preview_img_url":243,"slug":244,"view_count":19,"category_name":30,"create_tm":245},685815,"Sams Teach Yourself HTML, CSS, and JavaScript All in One - Table of Contents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000216029/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=X7Y%2B5gMXu05zbT7Xb7nhjPYD3qk%3D","sams-teach-yourself-html-css-and-javascript-all-in-one-table-of-contents",1794018866,{"doc_id":247,"doc_title":248,"file_type":137,"home_preview_img_url":249,"slug":250,"view_count":81,"category_name":30,"create_tm":251},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=1796110559&Signature=LcfC97rd%2BwL4kY8cXf498FuwpE4%3D","css-applying-basic-styles",1794061500,{"doc_id":253,"doc_title":254,"file_type":137,"home_preview_img_url":255,"slug":256,"view_count":39,"category_name":30,"create_tm":257},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=1796110559&Signature=b%2FuuAu1ht1u4C5j78jE0ggtKVpo%3D","css-from-a-to-z-introduction-to-css-read-online-free",1794561915,{"doc_id":259,"doc_title":260,"file_type":137,"home_preview_img_url":261,"slug":262,"view_count":29,"category_name":30,"create_tm":263},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=1796110559&Signature=QcP2EWB6yZMTGGndUsgAR7aSFSQ%3D","css-cascading-style-sheets-basic-css-properties-syntax-and-usage",1794468363,{"doc_id":265,"doc_title":266,"file_type":137,"home_preview_img_url":267,"slug":268,"view_count":81,"category_name":30,"create_tm":269},753574,"Deltarune - Solutions & Best Practices for Tenna Funnytext (CSS Guide)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230041727769/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=WWl1NtPvl%2Bkhku3Hm6abDbLYRrc%3D","deltarune-solutions-best-practices-for-tenna-funnytext-css-guide",1795751299,{"doc_id":271,"doc_title":272,"file_type":137,"home_preview_img_url":273,"slug":274,"view_count":29,"category_name":30,"create_tm":275},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=1796110559&Signature=eVJYV2yrm9lg1FFf%2BABgf6J82T0%3D","cascading-style-sheets-css-course-syllabus",1794561905,{"doc_id":277,"doc_title":278,"file_type":137,"home_preview_img_url":279,"slug":280,"view_count":24,"category_name":30,"create_tm":281},681943,"How To Build a Website with HTML - Part 1 - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999293528/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=r8KyIPSnB4N8a6Q6JuRv7wU9oOo%3D","how-to-build-a-website-with-html-part-1-introduction",1793957208,{"doc_id":283,"doc_title":284,"file_type":137,"home_preview_img_url":285,"slug":286,"view_count":19,"category_name":30,"create_tm":287},689127,"How to Work with HTML in Blackboard - Version 1-5","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001516953/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=UpgwhQhOhjZenlM%2BPY6cbfHviPE%3D","how-to-work-with-html-in-blackboard-version-1-5",1794097052]