CSS3 を使用すると、単一の段落を<p>
有効にフォーマットできます。しかし、書式が異なる複数の段落が必要な場合は、段落の名前を と に変更<p1>
し<p2>
ます。個別にフォーマットできますが、有効性テストに合格しません。それがまだ有効な方法でこれを行うにはどうすればよいですか?
私が現在行っている方法では、次のエラーが発生します。
Element p1 not allowed as child of element body in this context.
Element p2 not allowed as child of element body in this context.