Friday, April 24, 2020

Html introduction.



Html is an acronym. It stands for hypertext Markup language.
It is used to create web pages and web applications.
Hypertext means ‘text with in text’.
A text has a link within it. When we click the text another web page opens. So it is a link.
Markup language formats the layout a web page and its design.
It can make web page into tables, images and links.
Static content of a web page can be create only in html.

Sample
<!DOCTYPE html>
<html lang="en">
<head>
    
    <title>
        My Document</title>
</head>
<body>
    <h1> Welcome to our tutorial html</h1>
    <P> This is a tutorial where you can learn more about Html.</P>
</body>
</html>

Output:

<!DOCTYPE html>
Tells that we are using html 5 version.
<html>is the root tag for html. For most of the tags there will be also close tags.
<html> open tag and </html> is the close tag.
<head> is the part where we can mention the title, css design and scripts .
<body> is the part of content of actual web page.
<h1> it indicates that it is a heading. We will see what a heading is and what its types in upcoming lessons.
<P> indicates it is a paragraph.
See the outut window for our sample program.
Thank you 

No comments:

Post a Comment