Learn HTML | Lesson 1 | Headings & Paragraphs
HTML Course
Part 1
1. Introduction to HTML | HTML stands for Hyper Text Markup Language, it is required to make a website as it is the layout of the website. I don't want to tell you too much just know so lets just know how to make a basic HTML document. First open any text browser or you can use Notepad, Notepad is installed in every computer so you don't need to worry. Once you created a Notepad file name it as index.html then set the file type to UTF-5. Then lets get to the code, to create a simple text you can go to the Notepad file and write this: <p>Hello World!</p> what this does is create a simple text ( a paragraph ) to see the result save the file and go to the folder where you saved it, their double click the file and you would see your text. Now the way you are writing code is wrong you also have to set up the basic document but it would be to hard for you so we will just do it the incorrect way for now. Now you know how to make paragraphs lets learn how to create a heading, there are 6 types of headings, here's a list of them and what they do:
1. <h1>Hello World</h1> | This is the main heading of the page.
2. <h2>Hello World</h2> | This is the sub-heading for the page.
3. <h3>Hello World</h3> | This is a basic heading with a small font.
4. <h4>Hello World</h4> | This is a really small heading with a really small font.
5. <h5>Hello World</h5> | This is a really small heading to just point out something.
6. <h6>Hello World</h6> | This is the last type of heading.
* I forgot to tell you that you have to put the text in middle of the brackets *
Comments
Post a Comment