• Example 1: In this example, we simply set the bg color of the body to green. ... Yes, standard color names are supported, e.g., <body bgcolor=”red”>.
  • To get a pure red background using RGB encoding, try: <body bgcolor="#FF0000">. For a more subtle background, try: <body bgcolor=peach>.
  • Deprecated in HTML5. Do not use. <body bgcolor="">.
    • HTML Body Tag: Master The Most Important HTML Element Now
    • What does <body bgcolor=""> do?
  • <body> bgcolor özelliği HTML 4.01'de önerilmemektedir. Bgcolor özelliği belgenin arka plan rengini tanımlar.
  • <body bgcolor="color_name|hex_number|rgb_number">. Attribute Values. ... Specifies the background color with an rgb code (like "rgb(255,0,0)").
  • The <body> element contains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
    Bulunamadı: bgcolor
  • HTML - Web Colors. Our example uses the text value, which is one of three different types of color values that can be used with the bgcolor attribute.
  • Bu noktada, body bgcolor özelliği devreye girer. Body bgcolor, HTML'de kullanılan bir özelliktir ve web sayfasının arka plan rengini belirlemek için kullanılır.
  • The bgcolor attribute of the body element was deprecated in HTML 4.01 and is not supported in XHTML 1.0 Strict DTD. ... <body bgcolor="color_value">.