HTML INTRODUCTION
What is HTML5?
*HTML stands for Hyper Text markup Language, it is easy and fun to learn .
*HTML describes the structure of web pages.
*HTML5 is the fifth and current major version of the HTML standard.
Why learn HTML5?
It is essential to learn HTML if you want to built web sites, you can't built one if you don't know HTML because it's one of the prerequisites in learning other languages used of web development.
Try it yourself;
example:
<!DOCTYPE html>
<html>
<head>
<title> hello world !</title>
</head>
<body>
<h1> this is a heading </h1>
<p> this is a paragraph </p>
</body>
</html>
NOTE ; TRY THIS PROGRAM IN NOTEPAD OR ONLINE HTML COMPLIER
Output:
this is a heading this is a paragraph
Example Explained :
- <!DOCTYPE html> : this declares the document type which is HTML5
- <html> : this element encloses everything inside of an html document; it includes tags, elements ,style sheets, scripts, text, multimedia and a lot more'
- <head>: this elements encloses the metadata of a document which will not be displayed on the main content of the webpage ; this include style sheets, scripts , <title> , <meta> tags and lot more.
- <title>: this element defines the title of a web page; it appears on the upper on the upper-part of browser.
- <body>: this element encloses elements like <h1>,<p>, <img> ,<b>,<i> and a lot more.
- <h1>: this elements defines a heading
- <p>: this element defines a paragraph
HTML ELEMENTS #CLICK HERE
Post a Comment