Html basics

1,733 views

Published on

the best ppt to learn html perfectly with examples

Published in: Education
1 Comment
4 Likes
Statistics
Notes
No Downloads
Views
Total views
1,733
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
115
Comments
1
Likes
4
Embeds 0
No embeds

No notes for slide

Html basics

  1. 1.  What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of markup tags The purpose of the tags are to describe page content
  2. 2.  HTML markup tags are usually called HTML tags HTML tags are keywords (tag names) surrounded by angle brackets like <html> HTML tags normally come in pairs like <b> and </b> The first tag in a pair is the start tag, the second tag is the end tag The end tag is written like the start tag, with a forward slash before the tag name Start and end tags are also called opening tags and closing tags
  3. 3.  The text between <html> and </html> describes the web page The text between <body> and </body> is the visible page content The text between <h1> and </h1> is displayed as a heading The text between <p> and </p> is displayed as a paragraph
  4. 4. Text=“anycolor” in body
  5. 5.  HTML paragraphs are defined with the <p> tag. Syntax:<p>This is a paragraph.</p><p>This is another paragraph.</p> HTML headings are defined with the <h1> to <h6> tags. Syntax: <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3> HTML links are defined with the <a> tag. Syntax: <a href="http://www.gmail.com">This is a link</a>
  6. 6.  <b>Defines bold text <big>Defines big text <em>Defines emphasized text <i>Defines italic text <small>Defines small text <strong>Defines strong text <sub>Defines subscripted text <sup>Defines superscripted text <ins>Defines inserted text <del>Defines deleted text
  7. 7. Web page Page 11
  8. 8. HTML images are defined with the <img> tag.Syntax:<img src=“waterfalls.jpg" width="104" height="142" >• Attributes :• Height• Width• Title• Border• Style=“border-color:yellow”• Hspace• Vspace• Alt=“name”
  9. 9. Images :

×