回答編集履歴
1
ed
test
CHANGED
@@ -10,7 +10,12 @@
|
|
10
10
|
↓
|
11
11
|
```PHP
|
12
12
|
print("<div style='display: none'>");
|
13
|
+
もしくは
|
14
|
+
print("<div style=\"display: none\">");
|
15
|
+
もしくは
|
16
|
+
print('<div style="display: none">');
|
13
17
|
```
|
18
|
+
PHPマニュアル:[文字列](https://www.php.net/manual/ja/language.types.string.php)
|
14
19
|
上記の例など半角スペースがあることで正しくHTML出力されないのではないでしょうか。
|
15
20
|
|
16
21
|
②そもそものHTMLの構文としておかしい
|