[英]When using <p class=xxx> I am getting the response “No p element in scope but a p end tag seen.” on W3C compliance checker
我剛剛通過W3C符合性檢查器運行了我的網站(benefacto.org)。 它遭到轟炸-它說有多個實例(50個以上)
范圍內沒有
p
元素,但是看到了p
end標簽。
我已經數過了(使用MS Word),並且<p class=xxx>
數量與</p>
數量完全相同。
我認為這是因為我使用的是<p class=xxx>
或<p class="xxx">
而不是<p>
。
有人可以幫我擺脫這個問題嗎?
<div class="row-constrained">
<div class="col-sm-6">
<p class="p3 pink">Why is community involvement important to AECOM?</p>
<p class="p1">As a global organisation we want to ensure that we support the communities where we live and work.</p>
<p class="p1">We have a skilled workforce who we support to make a positive impact on local community groups.</p>
<p class="p1">Our aim is to make a positive difference for our people, our stakeholders, our communities and the environment.</p>
<p class="p3 pink">What do you think the key challenges are when engaging staff in the community?</p>
<p class="p1">Finding organisations to work with is, surprisingly, a big challenge. We need a variety of activities which will appeal to the broad skills and interests of our people. Supporting smaller groups is also important for us.</p>
<p class="p3 pink">How has Benefacto helped resolve these?</p>
<p class="p1">By presenting an easy to use website, which allows people to find the right volunteering opportunity, manage themselves and take responsibility for their volunteering commitment.</p>
<p class="p1">As Benefacto works with multiple corporate firms they bring lots of insight and ideas into what works and what doesn't work when getting employees engaged with volunteering. This has included provding a lot of practical support too - from presenting at team meetings to visiting volunteers and collecting case studies to producing marketing videos and printed materials.</p>
</div>
<div class="col-sm-6">
<p class="p3 pink">How did you launch the initiative?</p>
<p class="p1">With a series of campaigns: including posters, intranet announcements, social media, television-screens in cafes, leaflets, etc. A launch event we ‘camped out’ in our cafe over the lunchtime period encouraging people to sign up to the mailing list.</p>
<p class="p3 pink">How do you see your partnership with Benefacto progressing?</p>
<p class="p1">We have signed up for the next year and hope to continue the momentum. We hope that in time, we can introduce Benefacto to other Regions.</p>
<p class="p3 pink">Would you recommend Benefacto to other organisations?</p>
<p class="p1">Definitely - and I have!</p>
<p class="p3 pink">What advice would you give to someone just starting an employee volunteering scheme?</p>
<ul>
<li class="l1">Make sure you have a clear policy so people know what they can/can’t do</li>
<li class="l1">Have a variety of options for people to choose from</li>
<li class="l1">Make the process easy for them to manage themselves so it doesn’t become a logistical nightmare for you</li>
<li class="l1">Share the stories post event to encourage involvement</li>
<li class="l1 pink">Use Benefacto!</li>
</ul>
</div>
</div>
在當前主頁的第291行,您有一個關閉p
標簽,而沒有前面的打開標簽:
</p></div>
接下來的幾行(在Firefox中查看源代碼時,將這些多余的p
標記標記為紅色)。
如果說您沒有開放的p標簽,則應查看所有這些標簽以找出多余的地方。
您要么需要協調您的開始和結束標簽,要么雇用某人來完成該操作。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.