therealnemis

CS Class - 9/15

Sep 15th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. Repl.it -> HTML CSS JS
  2. html files end with the .html extension
  3. index.html is the root or home page of a website
  4.  
  5. HTML is written in tags - tag to begin, tag to end
  6. Usually <tag>content</tag>
  7.  
  8. Some tags without closing tags <br /> or <br> or <img>
  9.  
  10. <!DOCTYPE HTML>
  11. <html>
  12. <head>
  13. </title>page</title>
  14.  
  15. <body>
  16.  
  17. </body>
  18.  
  19.  
  20. </html>
  21.  
  22. H1 tag and p tag
  23. Comments
  24. All heading tags
  25. Strong tag - for bold
  26. em tag - for italics
  27. a href="" target="_blank" tag
  28.  
  29. lists
  30. unordered lists <ul>
  31. <li>
  32.  
  33. lists
  34. ordered lists <ol>
  35. <li>
  36.  
  37. tables
  38. <table>
  39. <thead>
  40. <tr>
  41. <td> Stuff </td>
  42. <td> stuff </td>
  43. </tr>
  44. </thead>
  45.  
  46. <tbody>
  47. <tr>
  48. <td> other stuff </td>
  49. <td> continued </td>
  50. </tr>
  51. </tbody>
  52. </table>
  53.  
  54. forms
  55.  
  56. <form action="" method="POST">
  57. <label>First Name</label>
  58. <input type="text" name="firstName" placeholder="enter first name">
  59.  
  60. <label>Last NAme </label>
  61. <input type="text" name="lastName">
  62.  
  63. <label>Email </label>
  64. <input type="email" name="email">
  65.  
  66. <label> Message </label>
  67. <textarea name="Message"></textarea>
  68. </form>
  69.  
  70. <button>CLick Me </button>
  71.  
  72.  
  73. <img src="">
  74.  
  75. <blockquote></blockquote>
Add Comment
Please, Sign In to add comment