Advertisement
HjHimansh

Day 1 - HTML

Sep 8th, 2021
49
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Day 1:
  2. =====================
  3.  
  4. Every webpage is made up of HTML. HTML stands for "Hypertext markup language"
  5.  
  6. All the HTML files have the extension of .html.
  7.  
  8. To write the HTML you'll need a text editor.
  9. I'll be using sublime text.
  10.  
  11. Some famous text editors (IDE's) are:
  12. notepad,
  13. notepad++,
  14. sublime text (will be used in this course), -> https://www.sublimetext.com/3
  15. vscode etc
  16.  
  17.  
  18.  
  19. We'll be using codecademy to proceed with our HTML lessons:
  20. https://www.codecademy.com/courses/learn-html/lessons/intro-to-html/exercises/intro
  21.  
  22.  
  23.  
  24. Opening tag example: <p>
  25. Closing tag: </p>
  26. All the closing tags have a '/'.
  27.  
  28.  
  29.  
  30. <body> tag:
  31. All the content written between the body tag is shown in the webpage.
  32.  
  33. Writing presentational tags (p, h1, h2..etc) outside the body tag is illegal.
  34.  
  35.  
  36.  
  37. Heading tag:
  38. We have 6 types of headings. h1 to h6. h1 is the largest heading, and h6 is the smallest heading.
  39.  
  40.  
  41.  
  42. Div tag:
  43. Div stands for 'division'. It's a container tag.
  44. We can wrap any element within the div tag.
  45.  
  46.  
  47. Attributes:
  48. Attributes are properties that can be added to tags..
  49. eg: <p id="value">hey there</p>
  50. <p class="anyValuehere">Hey there</p>
  51.  
  52.  
  53. Homework: : https://www.codecademy.com/courses/learn-html
  54. Finish the entire HTML tutorail on codecademy.
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
Advertisement
RAW Paste Data Copied
Advertisement