How to Decorate Web Pages (HTML Basic)

In the article entitled "Interested in learning web design, HTML first identify" you are acquainted with HTML, now you will be creative decorating web pages, but step by step while learning about text formats. And this time you will get acquainted with the existing attributes in the body tag.

In the body there is a name tag attribute, this attribute is used to make web pages look more attractive, slowly we will get acquainted with them. Attribute that is in the body tag, such as:

  • Bgcolor = "" (used to create web background color as you wish, for example: <body bgcolor="green"> or <body bgcolor="#008000">
  • Background = "" (to show the form background image) example: <body background="./image/IMG-AA0216.jpg"> (. / Image / enjoy.jpg is the name of the directory / folder where you save the image to be displayed)
  • Text = "red" (used to give color to the text that will be displayed on the web page)

Immediately, you write the following script:

Will display as shown below:


Background display if attribute not found:


Note: bgcolor = "green", useful when the background attribute (picture) was not found. The web page will use green or green background.
May be useful!

0 comments:

Post a Comment