나는 Shay Howe 씨가 작성한 코드 작성 : HTML 및 CSS에서 코드를 작성하여 코드에 문제가 발생했습니다.CSS 구문 분석 오류 란 무엇이며 어떻게 수정합니까?
어도비의 텍스트 편집기로 브래킷을 사용하고 실시간 미리보기를 보면 모양이 보이지 않아서 W3C CSS 유효성 검사 서비스에 넣었으며 구문 분석 오류. 여기에 내 코드 (문제 영역)입니다 :
h1, h3, h4, h5, p {
margin-bottom: 22px;
}
<a class="btn-alt"></a>
/*
==============================================
Buttons
==============================================
*/
.btn {
border-radius: 5px;
display: inline-block;
margin; 0;
}
.btn-alt {
border: 1px solid #dfe2e5;
padding: 10px 30px;
}
그리고 내 HTML :
<a class="btn-alt"></a>
내가 돈 '
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Styles Conference</title>
<link rel="stylesheet" href="assets/stylesheets/stylesconference.css">
</head>
<header>
<section class="container">
<h1>
<a href="stylesconference.html">Styles Conference</a>
</h1>
</section>
<h3>August 24—26th — Chicago, IL</h3>
<nav>
<a href="stylesconference.html">Home</a>
<a href="speakers.html">Speakers</a>
<a href="schedule.html">Schedule</a>
<a href="venue.html">Venue</a>
<a href="register.html">Register</a>
</nav>
</header>
<header class="container"></header>
<section>
<h2>Dedicated to the Craft of Building Websites</h2>
<p>Every year, the brightest web designers and front-end developers descend on Chicago to discuss the latest technologies. Join us this August!</p>
<a href="register.html">Register Now</a>
</section>
<section class="hero container"></section>
<section>
<section>
<a href="speakers.html">
<h5>Speakers</h5>
<h3>World-Class Speakers</h3>
</a>
<p>Joining us from around the world are over twenty fantastic speakers, here to share their stories.</p>
</section>
<section class="container"></section>
<section>
<a href="schedule.html">
<h5>Schedule</h5>
<h3>Three Inspiring Days</h3>
</a>
<p>Enjoy three inspiring and action-packed days of talks, gatherings, and all-around good times.</p>
</section>
<section>
<a href="venue.html">
<h5>Venue</h5>
<h3>The Chicago Theatre</h3>
</a>
<p> Within the heart of downtown Chicago, The Chicago Theatre will provide a beautiful conference venue.</p>
</section>
</section>
<section class="container"></section>
<footer>
<small>© Styles Conference</small>
<nav>
<a href="stylesconference.html">Home</a>
<a href="speakers.html">Speakers</a>
<a href="schedule.html">Schedule</a>
<a href="venue.html">Venue</a>
<a href="register.html">Register</a>
</nav>
</footer>
<footer class="container"></footer>
</html>
"웨이터, 내 수프에 머리카락이 있습니다"와 동일합니다. –
[Complete, Minimal, Verifiable Example] (http://stackoverflow.com/help/mcve)을 작성하십시오. –