0% found this document useful (0 votes)
2 views

HTMLintro-4-5-24

HTML, or Hypertext Markup Language, is used for creating web pages with features such as ease of learning, platform independence, and the ability to incorporate multimedia. While it allows for the creation of static web pages, it has limitations including the need for additional languages for dynamic content and security concerns. Important tags include <html>, <head>, <body>, and various heading and paragraph tags, which structure the content of web pages.

Uploaded by

99220042003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

HTMLintro-4-5-24

HTML, or Hypertext Markup Language, is used for creating web pages with features such as ease of learning, platform independence, and the ability to incorporate multimedia. While it allows for the creation of static web pages, it has limitations including the need for additional languages for dynamic content and security concerns. Important tags include <html>, <head>, <body>, and various heading and paragraph tags, which structure the content of web pages.

Uploaded by

99220042003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

HTML

HTML: hyper text markup language :

It is used for creating web pages :

Hyper text:”text” has link (link between web pages )

Markup language:making text with more formats and styles(tables, images, links)

Features of HTML
 It is easy to learn and easy to use.
 It is platform-independent.
 Images, videos, and audio can be added to a web page.
 Hypertext can be added to the text.
 It is a markup language.
Why learn HTML?
 It is a simple markup language. Its implementation is easy.
 It is used to create a website.
 Helps in developing fundamentals about web programming.

Advantages of HTML
 HTML is used to build websites.
 It is supported by all browsers.
 It can be integrated with other languages
like CSS, JavaScript, etc.
Disadvantages of HTML
 HTML can only create static web pages. For dynamic web
pages, other languages have to be used.
 A large amount of code has to be written to create a simple
web page.
 The security feature is not good.
Editors
 Notepad
 GeeksforGeeks IDE
 Brackets
 Sublime Text Editor
 Atom
 Visual Studio Code
Note:

1. It is not a case sensitive (write a code either upper case or lower case)
2. All the files must be saved with .html
3. We don’t need any internet connection
4. We can write a code in any text editor(eg: note pad))
5. Each tag must be enclosed with ending tag(</>)
6. All the html files must be executed in any browser(internet explorer, chrome)

Important tags

<html> </html>: it is determines start and end of the html document

<head> </head>it contains meta data including title tag

<title></title>: to display the title of the web page

<body></body>: to display the content of the web page ( text, heading,table, image etc,…)

Heading tags: to display the heading in different


size
<h1> biggest size
<h2>
<h3>
<h4>
<h5>
<h6>smallest size

2.<Body> tag
attributes
syntax
<body attribute =value>
<body bgcolor=”green”>
<body background=”image “>
Paragraph tag<p>

<p></p>

<center> </center>for align the text/heading to the centre of the page

<br> : break (ending tag) no end tag for <br> tag

<hr> horizontal rule

Attributes

<hr size=”30”>

<hr width=30>

<hr size=”30” no shade>

<hr color=”red”>

You might also like