[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-681943-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-681943-en":130,"doc-similar-681943":186},{"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":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","how-to-build-a-website-with-html-part-1-introduction","How To Build a Website with HTML - Part 1 - Introduction","","Project-based tutorial explaining how to build and customize a personal website using HTML. Covers setting up an HTML project in a code editor, viewing HTML source code, and using key HTML elements and attributes, including inline and block-level structure and nested elements. Guides adding media and content such as images, hyperlinks, div layouts, and styling updates, including setting head and body elements, favicon, and homepage sections with background, profile images, titles, and additional pages. Ends with footer and overall page alignment tasks.",{"@graph":14,"@context":73},[15,34,56],{"@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/how-to-build-a-website-with-html-part-1-introduction/681943/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/how-to-build-a-website-with-html-part-1-introduction/681943.png","ImageObject",300,407,{"name":42,"@type":43},"iuabcfuw","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-29","2026-11-06",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",5,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Do you need prior coding experience to follow this book?","Question",{"text":63,"@type":64},"No prior coding experience is necessary. The chapters introduce HTML from the basics through hands-on, project-based steps.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What tools are required before starting the HTML project?",{"text":68,"@type":64},"You need a code editor (the book uses Visual Studio Code) and a web browser (the book uses Firefox). You may also optionally use two profile photos or avatars for personalization.",{"name":70,"@type":61,"acceptedAnswer":71},"What does the book teach you to do with HTML elements and attributes?",{"text":72,"@type":64},"It teaches how to use and understand HTML elements, work with inline-level and block-level elements, nest elements, and apply HTML attributes to control structure and behavior.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},681943,1793957208,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":55,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":123,"preview_urls":145},3985747874027,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.  \nISBN 978-1-7358317-0-1  \nHow To Build a Website with HTML  \nErin Glass  \nDigitalOcean, New York City, New York, USA  \n2020-10  \nHow To Build a Website with HTML  \n1. About DigitalOcean  \n2. Introduction  \n3. How To Set Up Your HTML Project  \n4. How To View the Source Code of an HTML Document  \n5. How To Use and Understand HTML Elements  \n6. How To Use Inline-level and Block-level Elements in HTML  \n7. How To Nest HTML Elements  \n8. How To Use HTML Attributes  \n9. How To Add Images To Your Webpage Using HTML  \n10. How To Add Hyperlinks in HTML  \n11. How To Use a \u003Cdiv>, the HTML Content Division Element  \n12. How To Modify the Color of HTML Elements  \n13. How To Set Up Your HTML Website Project  \n14. How To Add an HTML \u003Chead> Element To Your Webpage  \n15. How To Add a Favicon to Your Website with HTML  \n16. How To Style the HTML \u003Cbody> Element  \n17. Creating the Top Section of Your Homepage With HTML  \n18. How To Add a Background Image to the Top Section of Your Webpage With HTML  \n19. How To Add a Styled Profile Image To Your Webpage With HTML  \n20. How To Add and Style a Title To Your Webpage With HTML  \n21. How To Create and Link To Additional Website Pages With HTML  \n22. How To Center or Align Text and Images on Your Webpage with HTML  \n23. How To Create the Body of Your Homepage With HTML  \n24. How To Add a Footer To Your Webpage With HTML  \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  \nIf you are interested in learning how to build and design websites, Hyper Text Markup Language (HTML) is a great place to start. This project-based tutorial series will introduce you to HTML and its methods by building a personal website using our demonstration site (below) as a model. Once you learn the basics, you will know how change the website's design and add personalized content. No prior coding experience is necessary to follow along the chapters in this book.  \nHTML is the standard markup language used to display documents in a web browser. First developed by Tim Berners Lee in 1990 while working atthe European Organization for Nuclear Research (CERN), HTML was oneof the key innovative technologies used to publish the world's first website on August 6, 1991. Thanks to a restoration project by CERN, you can now revisit the original website. Since that time, HTML has been significantly updated and expanded but its basic purpose to format and structure webpages remains the same.  \nToday, HTML is one of many tools used to build the web. Knowing how to write HTML will provide a strong foundation for your career as a web designer and prepare you to learn additional front-end web development skills like CSS and JavaScript.  \nIn this book, you'll learn how to create and customize a website using common HTML tags and techniques. After finishing this book, you'll have a site ready to deploy to the cloud.  \nPrerequisites  \nA code editor like Visual Studio Code or Atom. For this book, we will be using 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.  \nA web browser like Firefox or Chrome. We will be using Firefox as our default browser but you ","cbCailFnObzxm23l","https://ap.wps.com/l/cbCailFnObzxm23l","pdf",28366986,95,"English","# Introduction\n## About this Book\n## Prerequisites\n# How To Set Up Your HTML Project\n## Create a project folder\n## Create index.html\n## Next steps","[{\"question\":\"Do you need prior coding experience to follow this book?\",\"answer\":\"No prior coding experience is necessary. The chapters introduce HTML from the basics through hands-on, project-based steps.\"},{\"question\":\"What tools are required before starting the HTML project?\",\"answer\":\"You need a code editor (the book uses Visual Studio Code) and a web browser (the book uses Firefox). You may also optionally use two profile photos or avatars for personalization.\"},{\"question\":\"What does the book teach you to do with HTML elements and attributes?\",\"answer\":\"It teaches how to use and understand HTML elements, work with inline-level and block-level elements, nest elements, and apply HTML attributes to control structure and behavior.\"}]","How To Build a Website with HTML - Part 1 - Introduction | PDF",239,[146,150,154,158,162,166,170,174,178,182],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/7fd57470d09ae73f60c0aeb4dd00a757.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/f76d8b09fb0eeb7eea66f1f7b3b288e1.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3d59cf93f18f988e9817f3fc0a531e63.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6b25d17d1acfc5ad657b374a6d25a26e.webp",980,1268,{"page_no":55,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ff49ffb55eef931741bb1a013bb33201.webp",979,1267,{"page_no":101,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e3af35afb68c605f3291909f37bf0b12.webp",978,1265,{"page_no":105,"url":171,"width":172,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b59aefa56e3c24dd1cd8d278d7b8f0da.webp",977,1264,{"page_no":110,"url":175,"width":176,"height":177},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a3a4774fb5eabd653d24fa2fa3b52c5d.webp",976,1263,{"page_no":115,"url":179,"width":180,"height":181},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a49327cdea72bf1006a8e7a43ff36dcc.webp",975,1261,{"page_no":123,"url":183,"width":184,"height":185},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6b40ad9fe2c4c877f38690af1e8e8a8a.webp",974,1260,{"list":187,"token":11},[188,194,200,206,212,218,223,230,237,244],{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":55,"category_name":29,"create_tm":193},685841,"Markdown Syntax Guide - Quick Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000227664/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=45dHBD%2BFZyuuAqfirMtWt%2FJsiDg%3D","markdown-syntax-guide-quick-reference",1794019531,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":30,"category_name":29,"create_tm":199},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=1796110799&Signature=6q5iOSXWp%2BahfeUsbdhhZcMmgEY%3D","diploma-in-computer-application-web-design-block-1-hyper-text-markup-language-html",1794097032,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":33,"category_name":29,"create_tm":205},697998,"Markdown cheat sheet - guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010155625/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=mpFwCdnotBJ9IFA75xS8WDsb6CQ%3D","markdown-cheat-sheet-guide",1794446932,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":33,"category_name":29,"create_tm":211},697983,"Complete HTML Tags list with examples","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010150461/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=sKpnzEXR%2Brl2bIN6b%2FD8hneH44Q%3D","complete-html-tags-list-with-examples",1794446726,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":105,"category_name":29,"create_tm":217},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=1796110799&Signature=mI0lMbMSjchlf6aK7pXvFwXcALk%3D","how-to-build-a-website-with-css-and-html",1794246454,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":33,"category_name":29,"create_tm":211},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=1796110799&Signature=xSj%2BT9HsCEViAOgGOaMo6tv1RiI%3D","essential-html-tags-page-1-apply-appropriate-html-tags",{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":228,"category_name":29,"create_tm":229},348231,"Markdown Cheatsheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911603533/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=N5V0DUpFlhRjdLhR%2BoF8f2huk9k%3D","markdown-cheatsheet",14,1790071893,{"doc_id":231,"doc_title":232,"file_type":137,"home_preview_img_url":233,"slug":234,"view_count":235,"category_name":29,"create_tm":236},344715,"HTML Cheatsheet - Basic Tags, Links, Formatting, Lists, Forms, Tables","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910851845/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=GmNrdOg6yRO2awwp%2FMQDH7zR2l8%3D","html-cheatsheet-basic-tags-links-formatting-lists-forms-tables",17,1790055036,{"doc_id":238,"doc_title":239,"file_type":137,"home_preview_img_url":240,"slug":241,"view_count":242,"category_name":29,"create_tm":243},491464,"HTML Cheat Sheet - A quick guide to HTML, CSS, and JavaScript basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928196033/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=k1TmyqyTwR1BmGie3OvAYALKDsU%3D","html-cheat-sheet-a-quick-guide-to-html-css-and-javascript-basics",21,1790849720,{"doc_id":245,"doc_title":246,"file_type":137,"home_preview_img_url":247,"slug":248,"view_count":30,"category_name":29,"create_tm":249},681944,"A Practical Guide to Accessible HTML - Screen reader and ARIA foundations for EU compliance","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998408540/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=CdSvParyNOjEs1k97QBU1ut5EfM%3D","a-practical-guide-to-accessible-html-screen-reader-and-aria-foundations-for-eu-compliance",1793957211]