質問編集履歴
2
文書の補足
title
CHANGED
File without changes
|
body
CHANGED
@@ -11,6 +11,7 @@
|
|
11
11
|
現在、HTML4からHTML5への修正を行っているのですが、`HTML4.01 strict`で全ての画面をブラウザでチェックするやり方は面倒なので、できればIDEでチェックして欲しいです。
|
12
12
|
どうしたら正しく、非推奨、廃止になったものについて検証でwarningを出すことができるでしょうか。
|
13
13
|
あるいは、簡単な置き換え方法、eclipseのプラグインがあったら教えてほしいです。
|
14
|
+
画像はhtmlファイルですが、実際はjspを使用しています。
|
14
15
|
|
15
16
|
追記~~
|
16
17
|
[HTML5で廃止、非推奨をまとめたサイト](https://www.tagindex.com/html5/basic/abolished.html)がありましたので、参考にeclipseに書き込んでみました。
|
1
回答を得られやすくするための追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -10,4 +10,78 @@
|
|
10
10
|
[過去質問](https://teratail.com/questions/118947)で`main`タグについて質問されていますが、私の環境では`main`タグには問題が表示されておらず、最新のアップデートで治ったものだと認識しています。
|
11
11
|
現在、HTML4からHTML5への修正を行っているのですが、`HTML4.01 strict`で全ての画面をブラウザでチェックするやり方は面倒なので、できればIDEでチェックして欲しいです。
|
12
12
|
どうしたら正しく、非推奨、廃止になったものについて検証でwarningを出すことができるでしょうか。
|
13
|
-
あるいは、簡単な置き換え方法、eclipseのプラグインがあったら教えてほしいです。
|
13
|
+
あるいは、簡単な置き換え方法、eclipseのプラグインがあったら教えてほしいです。
|
14
|
+
|
15
|
+
追記~~
|
16
|
+
[HTML5で廃止、非推奨をまとめたサイト](https://www.tagindex.com/html5/basic/abolished.html)がありましたので、参考にeclipseに書き込んでみました。
|
17
|
+
以下の画像を参照ください。
|
18
|
+
|
19
|
+

|
20
|
+
|
21
|
+
一応コードも載せときますので、ご確認ください。
|
22
|
+
|
23
|
+
```html
|
24
|
+
<!DOCTYPE HTML>
|
25
|
+
<html version="">
|
26
|
+
<head profile="">
|
27
|
+
<title>test</title>
|
28
|
+
</head>
|
29
|
+
<body background="" bgcolor="" text="" link="" vlink="" alink="">
|
30
|
+
<!-- 廃止タグ -->
|
31
|
+
<acronym></acronym>
|
32
|
+
<applet></applet>
|
33
|
+
<basefont></basefont>
|
34
|
+
<bgsound></bgsound>
|
35
|
+
<big></big>
|
36
|
+
<blink></blink>
|
37
|
+
<center></center>
|
38
|
+
<dir></dir>
|
39
|
+
<font></font>
|
40
|
+
<frame></frame>
|
41
|
+
<frameset></frameset>
|
42
|
+
<isindex></isindex>
|
43
|
+
<marquee></marquee>
|
44
|
+
<nobr></nobr>
|
45
|
+
<embed><noembed></noembed></embed> <!-- noembedが廃止タグ -->
|
46
|
+
<noframes></noframes>
|
47
|
+
<strike></strike>
|
48
|
+
<tt></tt>
|
49
|
+
<!-- /廃止タグ -->
|
50
|
+
|
51
|
+
<a charset="" shape="" coords=""></a>
|
52
|
+
<map><area nohref=""></area></map>
|
53
|
+
<br clear="none"/>
|
54
|
+
<table width="" height="" summary="" frame="" rules="" cellspacing="" cellpadding="" align="" bgcolor="">
|
55
|
+
<caption align="top"></caption>
|
56
|
+
<colgroup width="" align="center" valign="middle" char="" charoff="">
|
57
|
+
<col width="" align="center" valign="middle" char="" charoff=""></col>
|
58
|
+
</colgroup>
|
59
|
+
<thead align="center" valign="middle" char="" charoff=""></thead>
|
60
|
+
<tbody align="center" valign="middle" char="" charoff="">
|
61
|
+
<tr align="center" valign="middle" char="" charoff="" bgcolor="">
|
62
|
+
<th align="center" valign="middle" char="" charoff="" axis="" width="" height="" bgcolor="" nowrap="nowrap"></th>
|
63
|
+
<td align="center" valign="middle" char="" charoff="" abbr="" scope="col" axis="" width="" height="" bgcolor="" nowrap="nowrap"></td>
|
64
|
+
</tr>
|
65
|
+
</tbody>
|
66
|
+
<tfoot align="center" valign="middle" char="" charoff=""></tfoot>
|
67
|
+
</table>
|
68
|
+
<div align="center"></div>
|
69
|
+
<dl compact="compact"></dl>
|
70
|
+
<form accept=""></form>
|
71
|
+
<h1 align="center"></h1><h2 align="center"></h2><h3 align="center"></h3><h4 align="center"></h4><h5 align="center"></h5><h6 align="center"></h6>
|
72
|
+
<hr size="" width="" align="center" noshade="noshade"/>
|
73
|
+
<iframe longdesc="" scrolling="" frameborder="" marginwidth="" marginheight="" align="center"></iframe>
|
74
|
+
<img longdesc="" name="" align="top" border="" hspace="" vspace="" />
|
75
|
+
<input align="" usemap="" ismap="" />
|
76
|
+
<fieldset><legend></legend></fieldset>
|
77
|
+
<ul type="disc" compact="compact">
|
78
|
+
<li type="disc"></li>
|
79
|
+
</ul>
|
80
|
+
<ol compact="compact"></ol>
|
81
|
+
<p align="center"></p>
|
82
|
+
<object><param valuetype="data" type=".text"/></object>
|
83
|
+
<pre width=""></pre>
|
84
|
+
</body>
|
85
|
+
</html>
|
86
|
+
|
87
|
+
```
|