mac users textedityou can also edit raw html with the included mac app texteditbut with several steps to change the defaults (the initial defaults are to show no html source since textedit does not do syntax coloringan editor like sublime text is likely betteras long as you do not mind doing one extra download if you do want to use textedit to see and edit html source open textedit click on help in the menu bar select textedit help page in the list that pops upselect "work with html documents follow the instructions in the section "always open html files in code-editing mode as beginneri suggest these settings in the last help section"change how html files are saved"in select the ccs style "no cssleave the defaults for document type and encoding in do not select preserve white space nowfor everyonewe get into the first simple examplethe raw html for hello html this file is in the examples sub-folder www hello simple page helloworldit is fine day you are encouraged to open it both in plain text editor like sublime text or mac textedit and in browser the other html files discussed hereare in the same folderand you are encouraged to open them in the same two ways with the html source text coloring in this tutorial the only text that you will see in browser' usual formatted view is what appears as black in the image everything else is markup markup tag names are boldfaceand colored dark blue most of the markup appears inside angle bracketsand most markup has both an opening and closing tagwith affected contents in betweenlike and in line the closing tag has right after the much of the markup is boilerplate am not going to explain it much in particular all the part through the opening tag for the bodyin lines - is standard for our very simple pagesexcept for the bit in blackinside the title markupon line the title text appears in the tab label in your browsernot inside the formatted page that appears in the browser the only parts you actually see on the page are inside the bodyhere the body contents are in lines - you are likely to want to start with heading line uses the markup to create main heading spaced the text in the body in strange wayto illustrate major feature of htmlit reformats if you change the window width that means the browser generally chooses the places to wrap to the next line in particular any amount of white spaceincluding newlines in your raw textare merely treated as place where there could be break to the next lineor it could just display as single space before the next word appendices