Creating First HTML Programme - Technology & Web designing

Breaking

Friday, 24 April 2020

Creating First HTML Programme

Basic Tags :

  1. The <HTML> Tag : The <HTML> tag identifies the document as an HTML.
  2. The <HEAD> Tag : The <HEAD> tag contains information about the document, including its title, script used, style definitions, and document description.
  3. The <TITLE> Tag : The <TITLE> tag contains the document title.
  4. The <BODY> Tag : The <BODY> tag encloses all tags, attributes, and information that you want on a visitor browser to display.

Attributes of <BODY> : ALINK, BACKGROUND, BGCOLOR, LINK, STYLE, VLINK, TEXT etc.

  • ALINK : This defines the color of the hyperlink as the user actually clicks them with the mouse.
  • LINK : This defines the color in which the hyperlink will be displayed which has not yet been visited. It changes the default color of Hyperlink.
  • VLINK : This defines the color for the hyperlink, which have previously been visited.
  • BGCOLOR : This specifies the color to be used for the background of the webpage. Simply way is to use the name of sixteen permitted colore or the RGB color combination.

<BODY BGCOLOR ="RED"> or <BODY BGCOLOR="#FF0000">

  • TEXT : This defines the color of the text of the page. You can also use RGB . <BODY Text = Red>
  • STYLE : Specifies style sheet commands that apply to the document body.
  • BACKGROUND : The relative and absolute location of an image files that tile across the document's background.

First HTML Program :

Output :

No comments:

Post a Comment

If you have any doubts regarding this please comment or email us.