Created
December 28, 2017 01:59
-
-
Save haruo-wakakusa/3fe6763dc5c5235d466af3c7392733ab to your computer and use it in GitHub Desktop.
HTMLの論理属性のテスト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Boolean Attribute Sample</title> | |
</head> | |
<body> | |
<input type="text" disabled> | |
<input type="text" disabled="disabled"> | |
<input type="text" disabled="foo bar baz"> | |
<input type="text"> | |
</body> | |
</html> |
Check by 'text input' で確認したところ、確かに10行目でエラーが出てます。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://validator.w3.org/
でチェックするために作成したHTMLです。File UploadかDirect Inputでご確認ください。
10行目でエラーが出ると思います。これはHTMLの文法として論理属性の属性名と属性値が一致しないためのものです。