孙大超
孙大超

Reputation: 41

Aptana does not know about <main> tag in HTML5?

I am learning HTML with the Aptana IDE v3.6 (the latest version).

When I type in some HTML5 tags like it remind me

the main tag is not recognized.

Aptana does not recognize html5?
Or how should I fix that?

Upvotes: 4

Views: 2132

Answers (1)

Tony L.
Tony L.

Reputation: 19406

If you want to get rid of the error, you could shut off Unrecognized Elements warnings like so:

  1. Window > Preferences > Aptana Studio > Validation > HTML Tidy Validator

  2. Select HTML Tidy Validtor > Elements > Unrecognized Elements

Note, however, that without these warnings, you'll be able to type undefined tags (e.g. <abc>).

Upvotes: 1

Related Questions