回答編集履歴
3
え、なんでプレビューと投稿結果が違うん?
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
MDNによれば、[<p>タグ](https://developer.mozilla.org/ja/docs/Web/HTML/Element/p)の内容として許容されるのは[記述コンテンツ](https://developer.mozilla.org/ja/docs/Web/HTML/Content_categories#Phrasing_content)のみです。
|
1
|
+
MDNによれば、[<p>タグ](https://developer.mozilla.org/ja/docs/Web/HTML/Element/p) の内容として許容されるのは[記述コンテンツ](https://developer.mozilla.org/ja/docs/Web/HTML/Content_categories#Phrasing_content)のみです。
|
2
2
|
|
3
3
|
`<p>`タグ自身は記述コンテンツではなくフローコンテンツなので、`<p>`タグの子に`<P>`タグを入れるのはHTML規約違反です。
|
4
4
|
|
2
link
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
MDNによれば、
|
1
|
+
MDNによれば、[<p>タグ](https://developer.mozilla.org/ja/docs/Web/HTML/Element/p)の内容として許容されるのは[記述コンテンツ](https://developer.mozilla.org/ja/docs/Web/HTML/Content_categories#Phrasing_content)のみです。
|
2
2
|
|
3
3
|
`<p>`タグ自身は記述コンテンツではなくフローコンテンツなので、`<p>`タグの子に`<P>`タグを入れるのはHTML規約違反です。
|
4
4
|
|
1
追記
test
CHANGED
@@ -5,3 +5,17 @@
|
|
5
5
|
|
6
6
|
|
7
7
|
そもそもなんですが、class同じタグに複数設定すればいいだけだと思うのですが、なぜそんな複雑にネストするんでしょうか?
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
### 追記
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
```html
|
16
|
+
|
17
|
+
<p class="text-center h1 text-white font-weight-bold">みんなの日記帳</p>
|
18
|
+
|
19
|
+
```
|
20
|
+
|
21
|
+
これじゃダメですか?
|