HTML is not a programming languages. Now the question comes What is HTML? Html is a Markup Language .It's have starting tags or ending tags, and those tags related some attribute will be there. HTML is used for making Web-page(Website).
What is HTML | HTML tag | Programming Language ?
HTML
is a scripting Language not programming language like C, C++, Java, Python etc.
HTML is a markup language that browser(Google Chrome, Firefox, Opera, Mozilla,
Internet explorer) use to interpret and compose text, images, table, form and
other element which contain a web page(website) or you can say HTML language is
used for making website.
HTML stand for Hyper Text Markup Language, it uses
markup tags to define a web page(Website). HTML is developed by World Wide Web
Consortium, it has file extension .html. It is case insensitive language, meaning <HTML> or
<html> treated as same.
**HTML Element : HTML element is an individual component of an HTML
document, it Start with a starting tag(opening)
and end with ending tag(closing). The element contents are everything
between the start and end tag. Most element can have attributes.
**All HTML document must start with a type declaration . In
HTML-5 declaration is like <!DOCTYPE html> . <html>, <head>, <body> tags are define the structure of the
document. In the <html> tag all
other elements are contain in this block.
**What is head tag, body tag : Body tag is for your web-page body, and head tag is for write title which shown in the title of your page. Head tag is very important for search engine(google,Yahoo, Excite) and body tag is important for your viewers.
HTML |
**Tag of html :
- <html> </html> To start and finish html document respectively.
- <head> </head> To set some heading for the page, which is help the search engine to find your web page.
- <Title> </title> To set the title, always title is present in the head tag.
- <Body> </Body> All your page elements are created in the body tag.
- <H1> <H1> Create a heading on the pages. Six heading tag are in the HTML likes h1, h2, h3, h4, h5, h6. Here h1 is biggest and h6 is smallest heading element.
- <P> </p> To write paragraph.
- <U> </U> To underline the text.
- <B> </B> To bold the text.
- <I> </I> To italic the text.
- <Font> </Font> To write different types of font .
- <HR> To draw a horizontal line.
- <OL> </OL> To write order list.
- <UL> </UL> To write un-order list.
- <LI> </LI> To write list item.
- <img> To set the images on the pages.
- <A> </A> To make hyperlink.
- <table> </table> To make table in the page.
- <TR> </TR>, <TD> </TD>, <TH> </TH> To making Table row,table data and table heading <frame> </frame> To make frame on a frame(web-page).
Attribute of HTML tag :
HTML Content :
HTML Container tag :
Empty Tag in HTML :
What is head tag, body tag.
**Where to write the code ?
You need to open note pad , open a new file and write HTML
code in it. Save it with html extension, execute it with some browser(Google Chrome, Firefox, Opera, Mozilla, Internet explorer).
Post a Comment