Home > front end >  HTML
HTML

Time:09-26

Test. The HTML:



<body>
Hello!


<body>

Test. CSS:
The {the font - weight: 700; Margin: 20 px;
}

Question:
Why did not respond to a web page? CSS no call? They wrote the wrong path?

CodePudding user response:

The last one & lt; body> It should be & lt;/body>
Path depends on the test. The HTML and the test. The location of the CSS, according to the above path test. The HTML and assets directory in the same directory,

CodePudding user response:

reference 1st floor hookee response:
last & lt; body> It should be & lt;/body>
Path depends on the test. The HTML and the test. The location of the CSS, according to the above path test. The HTML and assets directory in the same directory,
the body forgot to add/, indeed, the test. The HTML and assets are in the same directory! But the CSS is indeed no calls, web page no response