Paradox Paradox - 4 months ago 41
HTML Question

"HTML: Error: <nav> is not recognized!" In Komodo Edit

I am working on an index.html file and inside my head and body tag, I have a nav element. However, in Komodo Edit, version 10.1.1, build 17414, platform linux-x86_64., It red-underlines the nav element and gives me the following erorr message:

HTML: Error:
is not recognized!

This is what my code looks like:

<link rel="stylesheet" type="text/css" href="/static/css/style.css">
<link rel="stylesheet" href="">
<script src=""></script>
<script src="/static/js/script.js"></script>
<script src="/"></script>
<body><div class="sidebar"></div><nav class="main menu">

<ul class = button-container>
<i class="fa fa-font" style="font-size:6em;"></i>


<i class="fa fa-picture-o" style="font-size:6em;"></i>

<ul class="export button-container">
<i class="fa fa-floppy-o" style="font-size:6em;"></i>

<nav class="menu font" style="display: none;">


<nav class="menu picture" style="display: none">


Does anyone know what might be causing this?


Komodo has 2 "Languages" that cover HTML, one is called "HTML" and one is called "HTML5". HTML5 covers the nav element, HTML does not. You need to change your language selection to HTML5.

The language selection is done from the right side of the statusbar, it should currently say "HTML".