[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-689128-105":59,"doc-detail-689128-en":130,"doc-similar-689128":154},{"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","writing-html-on-a-macintosh-creating-an-html-file","Writing HTML on a Macintosh - Creating an HTML File","","Learn how to write HTML as plain text and create your first web page on macOS using TextEdit. The guide explains why HTML files must be saved as pure text, then walks through navigating to TextEdit, launching it, keeping it in the Dock for convenience, and changing TextEdit Preferences from rich text to plain text. It also covers the need to restart TextEdit so the formatting menus disappear, and highlights a parallel setup for Windows with Notepad.",{"@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/writing-html-on-a-macintosh-creating-an-html-file/689128/",{"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/writing-html-on-a-macintosh-creating-an-html-file/689128.png","ImageObject",300,407,{"name":92,"@type":93},"Himbo","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-11-08",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Why does the guide insist on using plain, pure text for HTML files on a Mac?","Question",{"text":112,"@type":113},"All HTML files are text files. The guide emphasizes plain text so the editor doesn’t insert special characters or unwanted formatting when saving.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What TextEdit settings are changed to create valid HTML files on macOS?",{"text":117,"@type":113},"TextEdit is switched to “Plain text” as the default editor mode, “Add .txt extension to plain text files” is unchecked, and “Ignore rich text commands in HTML files” is checked.",{"name":119,"@type":110,"acceptedAnswer":120},"Which browser should be used when creating and viewing HTML and CSS?",{"text":121,"@type":113},"The guide’s simple answer is to use whatever browser you like, since HTML and CSS are industry standards supported in a similar way across browsers.","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},689128,1794097060,{"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":29,"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":14,"preview_urls":145},687197100911,"https://ap-avatar.wpscdn.com/avatar/a000239b6f1da00475?x-image-process=image/resize,m_fixed,w_180,h_180&k=1785132997149421697","writing html on a macintosh  \nCreating an HTML file (Mac) All HTML ﬁles are text ﬁles. To create a text ﬁle you  \nneed an application that allows you to create plaintext without throwing in a lot of fancy formatting and special characters. You just need plain, pure text.  \nWe’ll use TextEdit on the Mac in this book; however, if you prefer another text editor, that should work ﬁne as well. And, if you’re running Windows, you’ll want to skip ahead a couple of pages to the Windows instructions.  \nStep one:  \nNavigate to your Applications folder The TextEdit application is in the Applications folder. The easiest way to get there is to choose “New Finder Window”  \nfrom the Finder’s File menu and then look for the Application directly in your shortcuts. When you’ve found it, click on Applications.  \nStep two:  \nLocate and run TextEdit  \nYou’ll probably have lots of applications listed in your applications folder, so scroll down until you see TextEdit. To run the application, double click on the TextEdit icon.  \nHere’s TextEdit.  \nYour Finder  \nshortcuts.  \nStep three (optional):  \nKeep TextEdit in your Dock  \nIf you want to make your life easier, click and hold on the TextEdit icon in the Dock (this icon appears once the application is running) . When it displays a popup menu, choose “Keep in Dock.”That way, the TextEdit icon will always appear in your Dock and you won’t have to hunt it down in the Applications folder every time you need to use it.  \ngetting to know html  \nStep four:  \nChange your TextEdit Preferences By default, TextEdit is in “rich text”mode, which means it will add its own formatting and special characters to your ﬁle when you save it – not what you want. So, you’ll need to change your TextEdit Preferences so that TextEdit saves your work as a pure text ﬁle. To do this, ﬁrst choose the“Preferences” menu item from the  \nTextEdit menu.  \nStep 􀃀ve:  \nSet Preferences for Plain text Once you see the Preferences dialog  \nbox, there are three things you need to do.  \nFirst, choose “Plain text” as the default editor mode in the New Document tab.  \nSecond, in the “Open and Save”  \ntab, make sure that the “Add .txt extension to plain text ﬁles” is unchecked.  \nLast, make sure “Ignore rich text commands in HTML ﬁles” is checked.  \nThat’s it; to close the dialog box  \nclick on the red button in the top left corner.  \nStep six:  \nQuit and restart  \nNow quit out of TextEdit by choosing Quit from the TextEdit menu, and then restart the application. This time, you’ll see a window with no fancy text formatting menus at the top of the window. You’re now ready to create some HTML.  \nyou are here 􀀗 13  \nwriting html on windows  \nCreating an HTML file (Windows)  If you’re reading this page you must be a Windows XP user. If not, you might want to skip a couple of pages ahead. Or, if you just want to sit in the back and not ask questions, we’re okay with that too.  \nTo create HTML ﬁles in XP we’re going to use Notepad – it ships with every copy of Windows, the price is right, and it’s easy to use. If you’ve got your own favorite editor that runs on XP, that’s ﬁne too; just make sure you can create a plain text ﬁle with an “.html” extension. Assuming you’re using Notepad, here’s how you’re going to create your ﬁrst HTML ﬁle.  \nOr another version of Windows.  \nIf you’re using another version of Windows you’ll find Notepad there as well.  \nStep one:  \nOpen the Start menu and navigate to Notepad  \nYou’ll ﬁnd the Notepad application in Accessories. The easiest way to get there is to click on the “Start” menu, then on “All Programs”, then “Accessories”. You’ll see Notepad listed there.  \ngetting to know html  \nStep two:  \nOpen Notepad  \nOnce you’ve located Notepad in the Accessories folder, go ahead and click on it. You’ll see a blank window ready for you to start typing HTML.  \nBut recommended.  \nStep three (optional):  \nDon’‛t hide extensions of well known 􀃀le types.  \nBy default XP’s File Explorer hides the ﬁle extensions of well known ﬁl","cbCaifk0v4T2keRQ","https://ap.wps.com/l/cbCaifk0v4T2keRQ","pdf",1794303,13,"English","# Writing HTML on a Macintosh\n## Creating an HTML file (Mac)\n## Locate and run TextEdit\n## Keep TextEdit in your Dock (optional)\n## Change your TextEdit Preferences\n## Set Preferences for Plain text\n## Quit and restart\n# writing html on windows\n## Creating an HTML file (Windows)\n## Open the Start menu and navigate to Notepad\n## Hide extensions for known file types","[{\"question\":\"Why does the guide insist on using plain, pure text for HTML files on a Mac?\",\"answer\":\"All HTML files are text files. The guide emphasizes plain text so the editor doesn’t insert special characters or unwanted formatting when saving.\"},{\"question\":\"What TextEdit settings are changed to create valid HTML files on macOS?\",\"answer\":\"TextEdit is switched to “Plain text” as the default editor mode, “Add .txt extension to plain text files” is unchecked, and “Ignore rich text commands in HTML files” is checked.\"},{\"question\":\"Which browser should be used when creating and viewing HTML and CSS?\",\"answer\":\"The guide’s simple answer is to use whatever browser you like, since HTML and CSS are industry standards supported in a similar way across browsers.\"}]","Writing HTML on a Macintosh - Creating an HTML File | PDF",33,[146,150],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/f23707daa69f99311de855d73948c3aa.webp",983,1136,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/c1a18fba7a8fc452248bcb9e928110ce.webp",982,1135,{"list":155,"token":66},[156,162,168,174,180,187,193,199,205,211],{"doc_id":157,"doc_title":158,"file_type":137,"home_preview_img_url":159,"slug":160,"view_count":24,"category_name":30,"create_tm":161},689004,"Default Folder X User's Guide - Version 6.2.8","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000672470/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=U%2Bw81sj%2BcxHSMFUWGQelpgWCOwQ%3D","default-folder-x-users-guide-version-628",1794093393,{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":44,"category_name":30,"create_tm":167},688312,"Vista User's Guide - Version 3.3","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001273744/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=rb5oKYf28XgEI1sDgEG2qlB7YeM%3D","vista-users-guide-version-33",1794087451,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":24,"category_name":30,"create_tm":173},688985,"Refinitiv Workspace Internal Training Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001491945/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=p4%2Ba4%2FvF8Qr6lRQEB0nWDYR3Jng%3D","refinitiv-workspace-internal-training-guide",1794093243,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":29,"category_name":30,"create_tm":179},681947,"Beginners Guide to HTML - Getting Started and Core HTML Concepts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998408617/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=fOFG6rxUsXrc54FHXDUBbjXT8%2BA%3D","beginners-guide-to-html-getting-started-and-core-html-concepts",1793957217,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":185,"category_name":30,"create_tm":186},647619,"Kensington Konnect - Mice/Trackballs User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972326394/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=FDk1LlAtc4huygyzSXJVzWlQNZM%3D","kensington-konnect-micetrackballs-user-guide",12,1792789570,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":19,"category_name":30,"create_tm":192},705094,"Speos User's Guide - Version 2025 R2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230014620647/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=%2FQwrFGzxUmalzqoRiqHeSsWGOGg%3D","speos-users-guide-version-2025-r2",1794686527,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":34,"category_name":30,"create_tm":198},687237,"Workday Navigation for End Users - 12-30-24","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000646066/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=QoyF511K5b%2BOOuunIUwWl1FgWKs%3D","workday-navigation-for-end-users-12-30-24",1794082342,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":34,"category_name":30,"create_tm":204},669247,"MacBook Keyboard Shortcut - Quick Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988201873/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=bMVjHGtxuwmKWomYIZHnkA%2BvJWM%3D","macbook-keyboard-shortcut-quick-reference",1793538014,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":81,"category_name":30,"create_tm":210},760173,"Corel PaintShop Pro 2023 - User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044496224/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=htoYf6E%2F0hmB5AO0Zj6aFKTcOfQ%3D","corel-paintshop-pro-2023-user-guide",1795898907,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":30,"create_tm":217},489363,"Email Design & Coding Recommendations - HTML email design and coding best practices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927232079/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=M%2Fy0Oonw%2FjC2EWUij82GUGO99KY%3D","email-design-coding-recommendations-html-email-design-and-coding-best-practices",15,1790822449]