Lecture 3: HTML Backgrounds

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025
  • The background of an HTML page is specified in the body tag.
    Using plain color:
    To set a plain color as the background use the bgcolor attribute of the body tag
    For example: body bgcolor=”yellow”
    Using Image:
    To use an image as background, we use the background attribute of the body tag
    For example: body background=”pic_XP.jpg”

Комментарии •