[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-491464-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-491464-en":131,"doc-similar-491464":163},{"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","html-cheat-sheet-a-quick-guide-to-html-css-and-javascript-basics","HTML Cheat Sheet - A quick guide to HTML, CSS, and JavaScript basics","","HTML and CSS are introduced as foundational web technologies, explaining how HTML labels and structures page content using elements, tags, and required attributes. The material covers common HTML elements like headings, paragraphs, images, anchors, lists, and div grouping, plus practical syntax examples. CSS is then described through selectors, properties, and rule structure, including a box-model overview and typical properties such as color, background, font, border, margin, and padding. JavaScript closes the sheet with core concepts like variables, functions, conditionals, loops, and basic data types plus methods such as alert, prompt, and confirm.",{"@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/html-cheat-sheet-a-quick-guide-to-html-css-and-javascript-basics/491464/",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/html-cheat-sheet-a-quick-guide-to-html-css-and-javascript-basics/491464.png","ImageObject",300,407,{"name":42,"@type":43},"pixelkiddo","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-12-01","2026-10-01",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",21,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is the role of HTML on a webpage?","Question",{"text":63,"@type":64},"HTML labels and organizes content such as headings, paragraphs, lists, and images so the web browser can display the page correctly.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How do CSS selectors and properties work together?",{"text":68,"@type":64},"CSS rules define how HTML appears using a selector (which element to style) and properties (how it should look and behave).",{"name":70,"@type":61,"acceptedAnswer":71},"Which JavaScript concepts are covered, and what are common examples?",{"text":72,"@type":64},"The sheet covers variables, functions, conditionals (if…then), and loops, plus data types and methods like alert, prompt, and confirm.","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},491464,1791033565,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,120,123,127],{"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":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":116,"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":144,"read_time":145,"preview_page_count":33,"preview_urls":146},962090883892,"https://ap-avatar.wpscdn.com/avatar/e00115db34f3e0f11b?x-image-process=image/resize,m_fixed,w_180,h_180&k=1790152879550218658","HTML Cheat Sheet  \nHyper Text Markup Language (HTML) is a coding language used to build websites. Specifically, HTML’sjob is to label and organize content such as headings, paragraphs, lists and images, so that the web browser (e.g. Chrome, Firefox, etc.) knows how the page should look.  \nKey Vocabulary  \nEach individual piece of content on a webpage is an element (text, images, links, etc) .  \n\u003Ch1>This is my page heading\u003C/h1>  \nA text element example.  \nElements are made up of tags. Typically, tags come in pairs: a start tag and an end tag, noted by a forward slash (/) .  \n\u003Ch1>Heading 1\u003C/h1>  \n\u003Ch2>Heading 2\u003C/h2>  Common Tags \u003Cp>Paragraph\u003C/p>\u003Cimg sr c=”path/to/image.jpg” />  \nHTML Syntax  \nStart End  \nTag Attribute Content Tag  \n\u003Cp class=”red”> Look, I’m coding! \u003C/p>  \nElement  \n[www.bsd.education](www.bsd.education)  \nAttributes provide additional information about elements. Images and links require attributes to work properly.  \n\u003Ca href=”[www.google.com](www.google.com)”>Look it up!\u003C/a>  \nExample of attribute linking to website.  \nHTML Cheat Sheet  \nCommon HTML Elements  \n• Headings are the only HTML elements that use numbers.  \n• \u003Ch1> should be used only once per page.  \n\u003Ch1>My large heading\u003C/h1>  \n\u003Ch6>My small heading\u003C/h6> Headings come in  \n6 different sizes.  \nParagraph  \nImage  \n(Link)  \nAnchor  \n(Unordered)  \nList  \n• Try using a \u003Cbr/> tag to add line breaks within paragraphs.  \n• The image element is a single tag.  \n• The src (source) attribute is required.  \n\u003Cimg src=”my_image.jpg” />  \nRemember to include quotation marks, they are required for attribute values.  \n• Anchor tags can be used to link text or images.  \n• The href (hypertext reference) attribute is required.  \n• Any number of \u003Cli>(list items) can be nested within a list.  \n• Try \u003Col> for an ordered list.  \n \u003Ca href=”[www.example.com](www.example.com)”>Click me\u003C/a>   \nThe end tag signals when to stop the link.  \n\u003Cul>  \n\u003Cli>Item 1\u003C/li>  \n\u003Cli>Item 2\u003C/li>\u003C/ul>  \nKeep in mind that nested elements are indented.  \n• Div tags \u003Cdiv> are useful for grouping and organizing page content.  \n\u003Cdiv>Web page content\u003C/div>  \nThe div tag is known as a Division tag.  \n[www.bsd.education](www.bsd.education)  \nCSS Cheat Sheet  \nCascading Style Sheets (CSS) is a coding language that pairs with HTML. It works by defining a series of rules for how the HTML should look (colors, spacing, etc).  \nCSS is helpful for establishing the layout and personality of a website.  \nKey Vocabulary  \nRule  \nSelector  \nProperty  \nRules define how HTML content will appear. Rules are made up of two parts:  \n(1) selectors and (2) properties.  \nThe selector specifies which HTML element should be styled (e. g. img or ul) . Note thatselectors do not include angle brackets (\u003C >).  \nProperties describe how that element should look and behave (e. g. color or font size) .  \nh1 {  \ncolor: blue;}  \nThis selector is styling a heading.  \nh1 {  \ncolor: blue;}  \nThis property defines the color.  \nh1 { color : blue;  \n}  \nNote the use of brackets for a rule.  \nCSS Syntax  \nRule Selector  \nh1 {  \ncolor: blue;}  \nProperty Value  \n[www.bsd.education](www.bsd.education)  \nEach property needs a value. Different properties require specific types of values, from numbers to font names.  \nh1 {  \ncolor: blue ;}  \nNote the use of a semi-colon after the specified value.  \nCSS Cheat Sheet  \nCommon CSS Properties  \n• Defines the color of text, borders and list bullets  \ncolor  \ncolor: purple;  \nRemember the selector needs to be specified before the color.  \nbackground-color  \nfont-family  \nfont-size  \nbackground-image: href(“image.jpg”);  \n• Defines background color  \n• Try background-image too  \n• Use quotes for specific fonts  \nbackground-color: plum;  \nDon’t forget quotes around the font.  \nfont-family: “Impact”;  \nThe “px” after the number stands for pixel.  \n• A popular unit for font-size is “em”(e.g. font-size: 1em;)  \nfont-size: 24px;   \n• Note the three values for border: (1) width,(2) style, and (3) color  \nWidth  \n St","cbCaicenczol0yFz","https://ap.wps.com/l/cbCaicenczol0yFz","pdf",11743863,"English","# HTML Cheat Sheet\n## Key Vocabulary\n## Common Tags and Elements\n## HTML Syntax\n# CSS Cheat Sheet\n## Key Vocabulary\n## CSS Syntax and Common Properties\n# JavaScript Cheat Sheet\n## Key Vocabulary and Core Syntax\n## Common JS Data Types and Useful Methods","[{\"question\":\"What is the role of HTML on a webpage?\",\"answer\":\"HTML labels and organizes content such as headings, paragraphs, lists, and images so the web browser can display the page correctly.\"},{\"question\":\"How do CSS selectors and properties work together?\",\"answer\":\"CSS rules define how HTML appears using a selector (which element to style) and properties (how it should look and behave).\"},{\"question\":\"Which JavaScript concepts are covered, and what are common examples?\",\"answer\":\"The sheet covers variables, functions, conditionals (if…then), and loops, plus data types and methods like alert, prompt, and confirm.\"}]","HTML Cheat Sheet - A quick guide to HTML, CSS, and JavaScript basics | PDF",1790849720,23,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/e65706518a25b918420ea0cce74c6170.webp",983,1272,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/7d22e66297f5dc51abe874d338ebd74e.webp",982,1270,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/df32c78452921631e81f418d2f442337.webp",981,1269,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/91af01c99c9839087737b78f6db87336.webp",980,1268,{"list":164,"token":11},[165,172,178,184,190,196,202,208,214,220],{"doc_id":166,"doc_title":167,"file_type":138,"home_preview_img_url":168,"slug":169,"view_count":170,"category_name":29,"create_tm":171},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=1796111999&Signature=z3yE5NF93YWzWFZ46AzvBMiQHbk%3D","html-cheatsheet-basic-tags-links-formatting-lists-forms-tables",17,1790055036,{"doc_id":173,"doc_title":174,"file_type":138,"home_preview_img_url":175,"slug":176,"view_count":102,"category_name":29,"create_tm":177},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":179,"doc_title":180,"file_type":138,"home_preview_img_url":181,"slug":182,"view_count":30,"category_name":29,"create_tm":183},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":185,"doc_title":186,"file_type":138,"home_preview_img_url":187,"slug":188,"view_count":102,"category_name":29,"create_tm":189},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":191,"doc_title":192,"file_type":138,"home_preview_img_url":193,"slug":194,"view_count":33,"category_name":29,"create_tm":195},681941,"HTML & CSS - Course Material - Hamburg Coding School - January 2022","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999293280/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=aETjJoxeqAYaDV1SN%2BZ6jARQf60%3D","html-css-course-material-hamburg-coding-school-january-2022",1793957200,{"doc_id":197,"doc_title":198,"file_type":138,"home_preview_img_url":199,"slug":200,"view_count":26,"category_name":29,"create_tm":201},757768,"where everyone knows your name - HTML/CSS Effects - AO3 Work Skin Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230042089296/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=tQiXx8Qr8e9BRvoS4MhZCE861LA%3D","where-everyone-knows-your-name-htmlcss-effects-ao3-work-skin-tutorial",1795760052,{"doc_id":203,"doc_title":204,"file_type":138,"home_preview_img_url":205,"slug":206,"view_count":207,"category_name":29,"create_tm":189},699463,"HTML5 and CSS3 - Seventh Edition - Visual QuickStart Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010042191/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=%2FfR9sQp1gRS%2FRDjMOdYac%2FirUQ0%3D","html5-and-css3-seventh-edition-visual-quickstart-guide",12,{"doc_id":209,"doc_title":210,"file_type":138,"home_preview_img_url":211,"slug":212,"view_count":97,"category_name":29,"create_tm":213},693034,"CSS Handbook","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005053838/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=d2DBIc%2BkZNC8rI0QpZwmWhjm1g8%3D","css-handbook",1794246437,{"doc_id":215,"doc_title":216,"file_type":138,"home_preview_img_url":217,"slug":218,"view_count":30,"category_name":29,"create_tm":219},697391,"Learning JavaScript - A Hands-On Guide to the Fundamentals of Modern JavaScript","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009804094/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=4Ilw9htvwqmhgUnZKEEyKroNO%2BM%3D","learning-javascript-a-hands-on-guide-to-the-fundamentals-of-modern-javascript",1794438282,{"doc_id":221,"doc_title":222,"file_type":138,"home_preview_img_url":223,"slug":224,"view_count":111,"category_name":29,"create_tm":225},646220,"Programming Reference Manuals - Quick Access Resource","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229971804219/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=IvUIPzSO6yuV2It3evN1ShrBezs%3D","programming-reference-manuals-quick-access-resource",1792753732]