Home>

Practice of dot installation! I'm learning to make a website,
<link rel ="stylesheet"href ="css/styles.css">>
It will be reflected properly until you put it in, but it will not be reflected if you put it in.
I have investigated variously, but CSS is not reflected by all means.
What should I do to reflect CSS in the browser? Professor

Code
&lt;! DOCTYPE html&gt;
&lt;html lang = "en"&gt;
&lt;head&gt;
  &lt;meta charset = "utf-8"&gt;
  Try&lt;title&gt;Dotinstall Pane&lt;/title&gt;
 &lt;link rel = "icon" href = "favicon.ico"&gt;
 &lt;link rel = "stylesheet" href = "css/styles.css"&gt;
&lt;/head&gt;
&lt;body&gt;
  &lt;header&gt;
    &lt;h1&gt;Dotinstall Pane&lt;/h1&gt;
    &lt;p&gt;
      &lt;br&gt;
      Atom package for coding
    &lt;/p&gt;
    &lt;a href = "#" target = "_ blank"&gt;Learn more&lt;/a&gt;
  &lt;/header&gt;
&lt;/body&gt;
&lt;/html&gt;
Code
body {
  font-size: 16px;
  font-family: Verdana, sans-serif;
  color: # 333;
}
header {
  color: #fff;
  background: url (../ img/bg.png)
  background-size: cover;
}
css
  • Answer # 1

    Try a super reload

    Check if the CSS file is in the location specified by the link element

    Try adding a semicolon to the end of the background property on the header element

    And paste the source code into the question text

  • Answer # 2

    The background is not displayed due to forgetting the semicolon as shown in the answers of "mts10806" and "bwz61366" Isn't it just?

    I think that even if the text exists, it cannot be assimilated because the text color and the background are white.

    Isn't a character appearing when dragging the part above "View Details" or selecting all with "Ctrl + A"?