How do you put a background image on a body tag in HTML?

How do you put a background image on a body tag in HTML?
Answer
Using the Background attribute (Html Tag) Using an Internal Style Sheet.
…
And, then type the background-image property as shown in the following block:
  1. <! Doctype Html>
  2. <Html>
  3. <Head>
  4. <Title>
  5. Add the Background image using Internal Style sheet.
  6. </Title>
  7. <style>
  8. body.
 

Tìm kiếm

Back
Top