HTML BASIC

DEV PATEL
0

 

HTML stands for hyper text markup language.

You can create your own professional Website

One of easiest language to build Website

 

In this HTML tutorial, you will find more than 150+ examples. 

With our online "Try now Yourself" editor, you can edit and test each example yourself!

 

HTML Basic

  • In this part we will show some basic HTML examples.

learn html for free
HTML Documents

  • All HTML documents start with a document type declaration: <!DOCTYPE html>.
  • The visible part of the HTML document is between <body> and </body>.
  • The HTML document itself begins with <html> and ends with </html>.

 
The <!DOCTYPE> Declaration.

  • The <!DOCTYPE> declaration is not case sensitive.
  • It must only appear once, at the top of the page (before any HTML tags).
  • The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages correctly.

 

HTML Headings.

  • HTML headings are defined with the <h1> to <h6> tags.
  • <h1> defines the most important heading with biggest characters . <h6> defines the least important heading with smallest characters:

 

HTML Paragraphs.

  • The HTML paragraphs are defined with the <p> tag:

 

HTML Links.

  • The HTML links are defined with the <a> tag:
  • <a href=" https://www.riztalk.com/">This is a link</a>
  • The link's destination is specified in the href attribute.
  • Attributes are used to provide additional information about HTML elements.
  • Don’t worry You will learn more about attributes in a upcoming chapter.

 

HTML Images.

  • The HTML images are defined with the <img> tag.
  • The source file (src), alternative text (alt), width, and height are provided as attributes:

 

<img src="riztalk.jpg" alt="riztalk.com" width="105" height="143">

Tags

Post a Comment

0 Comments
Post a Comment (0)
To Top