HTML Tutorial: Part 1-1
HTML Tutorial: Part-1-1
With HTML you can create your own Website.
This tutorial teaches you everything about HTML.
HTML is easy to learn - You will enjoy it.
There is a starting tag <........> and Ending Tag </.........> in every command in html language.
[[[[ We have to save our code in anywhere by .html (Like audio song .mp3, video .mp4, document (word) .doc, image .jpg etc.) .html indicates it is a html file.
Browser can read it and run it. Otherwise browser can't open and show us what we want ]]]]]]]
Let's Start our today's Code:
<!DOCTYPE html> - note: it indicates it is a html file
<html> - html starting tag
<head> - header starting tag <head>
<title>Page Title</title> - title which is displayed in browser's top in tab
</head> - header ending tag. here header is completed
<body> - body is the main part of website. <body> is starting tag
<h1>This is a Heading</h1> - h1 indicates header-1 [this shows big size font]
<p>This is a paragraph.</p> - p indicates paragraph [ general text, normal font]
</body> - body ending tag
</html> - html ending tag
this will show us like right side
You can try it online. click here
Now we know some html tag from above code. they are
<html>, <head>, <title>, <body>, <h1>, <p>
</html>, </head>, </title>, </body>, </h1>, </p>
note: We have to save this in our storage like (demo.html) .html is must to show in browser.
Question:
1. Write the header code in html code. ..................................., ......................................
2. Write the title code in html code. ..................................., ......................................
3. Write the heading code in html code. ..................................., ......................................
4. Write the body code in html code. ..................................., ......................................
5. Write the paragraph code in html code. ..................................., ......................................
6. How to save html file?
7. What is the starting and ending tag of an html file?
If you want you can answer in comment..........
Any inquiry/question/suggestion?
comment below.



No comments:
Post a Comment