>source

이것은 첫 번째 웹 페이지이며 끝 단락 태그는 빨간색입니다.

누군가 내가 잘못한 것을 말해 줄 수 있나요?

이것은 내 코드입니다. 정상적으로 작동했지만 CSS를 추가하려고 할 때 이상한 방식으로 텍스트를 표시하기 시작했기 때문에 코드에 오류가 있다고 가정합니다.

<body>
  <header>
    <h1><a href="http://epro.motorparks.co.uk/?" title="Engagement Pro">Engagement Pro</a></h1>
  </header>
  <section>
    <h2>Frequently Asked Questions</h2>
    <h3>Below you will find answers to the questions we get asked the most about Engagement Pro.</h3>
    <div>
      <p>
        Managers
        <ul>
          <li>Why can't log in?</li>
          <li>A lead came through with no contact details, how do I remove it?</li>
          <li>I have added a comment to an unlogged lead, why is it not excluded?</li>
          <li>A guest enquired twice, but when I created the enquiry it didn't link to the other one.</li>
          <li>Where do I find leads that are being added in my diary by reception?</li>
        </ul>
      </p>
      <p>
        Sales associates
        <ul>
          <li>Why can't log in?</li>
          <li>Why doesn't the 'Export to Pinnacle' button work?</li>
          <li>Why do I have guests I know nothing about in my diary?</li>
          <li>Is there an easier way to see my diary for today, other han changing the date range?</li>
          <li>When adding an appointment, it doesn't show in my appointments diary</li>
          <li>Why are the postcodes highlighted yellow or green sometimes?</li>
        </ul </p>
        <p>
          Product geniuses
          <ul>
            <li>Why can't log in?</li>
            <li>Why does my video have so little views?</li>
            <li>Why can I not save a video?</li>
          </ul>
        </p>
        <p>For any other questions/suggestions please contact Steven Harris or Andreea Mitel.</p>
  </section>
  <footer>
  </footer>
</body>

  • 답변 # 1

    <ul> 에 주목해야합니다   <p> 내에서 허용되지 않습니다  

  • 답변 # 2

    코드에서 일부 코드 오류를 발견하고 HTML 주석으로 수정했습니다. 희망이 지금 당신을 위해 잘 작동합니다! :)

    여기서 기억해야 할 것은 : ul   p 내부에서 요소가 합법적으로 허용되지 않습니다  집단. 그 이유가 있습니다. 코드에서 일부 태그를 닫는 것을 잊었거나 일부 종료 태그가 누락되었습니다.

    <body>
      <header>
        <h1><a href="http://epro.motorparks.co.uk/?" title="Engagement Pro">Engagement Pro</a></h1>
      </header>
      <section>
        <h2>Frequently Asked Questions</h2>
        <h3>Below you will find answers to the questions we get asked the most about Engagement Pro.</h3>
        <div>
          <p>Managers</p>
          <!-- Properly closing <p> -->
          <ul>
            <li>Why can't log in?</li>
            <li>A lead came through with no contact details, how do I remove it?</li>
            <li>I have added a comment to an unlogged lead, why is it not excluded?</li>
            <li>A guest enquired twice, but when I created the enquiry it didn't link to the other one.</li>
            <li>Where do I find leads that are being added in my diary by reception?</li>
          </ul>
    
          <p>Sales associates</p>
          <!-- Properly closing <p> -->
          <ul>
            <li>Why can't log in?</li>
            <li>Why doesn't the 'Export to Pinnacle' button work?</li>
            <li>Why do I have guests I know nothing about in my diary?</li>
            <li>Is there an easier way to see my diary for today, other han changing the date range?</li>
            <li>When adding an appointment, it doesn't show in my appointments diary</li>
            <li>Why are the postcodes highlighted yellow or green sometimes?</li>
          </ul>
          <!-- <ul> was not properly closed -->
          <p>Product geniuses</p>
          <!-- Properly closing <p> -->
          <ul>
            <li>Why can't log in?</li>
            <li>Why does my video have so little views?</li>
            <li>Why can I not save a video?</li>
          </ul>
          <p>For any other questions/suggestions please contact Steven Harris or Andreea Mitel.</p>
        </div>
        <!-- Closing <div> was missing -->
      </section>
      <footer>
      </footer>
    </body>
    
    

  • 이전 php - Woocommerce에서 장바구니 무게를 기준으로 맞춤 결제 필드 추가
  • 다음 wso2 apim docker - wso2 apim 도커 - http : // host-ip : 9443/publisher가 로그인 페이지를 표시하는 대신 이진 파일을 다운로드하고 있습니다