Question: how do i write html code?
Answer: Step 1: Open Notepad (PC) Windows 8 or later: ... 
Step 1: Open TextEdit (Mac) Open Finder > Applications > TextEdit. ... 
Step 2: Write Some HTML. ... 
Step 3: Save the HTML Page. ... 
Step 4: View the HTML Page in Your Browser.