Advertisement
Guest User

Starting HTML

a guest
Dec 17th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. Step 1: Open Notepad (PC)
  2. Windows 8 or later:
  3.  
  4. Open the Start Screen (the window symbol at the bottom left on your screen). Type Notepad.
  5.  
  6. Windows 7 or earlier:
  7.  
  8. Open Start > Programs > Accessories > Notepad
  9.  
  10. Step 1: Open TextEdit (Mac)
  11. Open Finder > Applications > TextEdit
  12.  
  13. Also change some preferences to get the application to save files correctly. In Preferences > Format > choose "Plain Text"
  14.  
  15. Then under "Open and Save", check the box that says "Display HTML files as HTML code instead of formatted text".
  16.  
  17. Then open a new document to place the code.
  18.  
  19. Step 2: Write Some HTML
  20.  
  21. <!DOCTYPE html>
  22. <html>
  23. <body>
  24.  
  25. <h1>Hello</h1>
  26.  
  27. <p>My World.</p>
  28.  
  29. </body>
  30. </html>
  31.  
  32. Step 3: Save the HTML
  33. Example: 1st.html
  34.  
  35. Credits w3.school
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement