Warum gilt mein CSS nicht für ein div-Element?HTML

HTML-Programmierer
Anonymous
 Warum gilt mein CSS nicht für ein div-Element?

Post by Anonymous »

Ich lerne HTML und CSS.
Ich habe eine einfache HTML-Datei und eine CSS-Datei erstellt, aber die Stile werden nicht auf das div-Element angewendet.
HTML:

Code: Select all






Hello World



CSS:

.box {
width: 200px;
height: 200px;
background-color: blue;
color: white;
}

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post
  • Warum gilt mein CSS nicht für ein div-Element?
    by Anonymous » » in HTML
    0 Replies
    0 Views
    Last post by Anonymous
  • Warum gilt mein CSS nicht für ein div-Element?
    by Anonymous » » in CSS
    0 Replies
    0 Views
    Last post by Anonymous
  • Warum gilt mein CSS nicht für ein div-Element?
    by Anonymous » » in CSS
    0 Replies
    0 Views
    Last post by Anonymous
  • Warum gilt mein CSS nicht für ein div-Element?
    by Anonymous » » in CSS
    0 Replies
    0 Views
    Last post by Anonymous
  • Warum gilt mein CSS: Fokusstil nicht für
    beim Tabulatorfokus?
    by Anonymous » » in HTML
    0 Replies
    10 Views
    Last post by Anonymous