Home > Enterprise >  My html code is working fine, but validator gives me parse-error. I tried removing tags, but not wor
My html code is working fine, but validator gives me parse-error. I tried removing tags, but not wor

Time:03-02

[parse-error][1]

my html code is having trouble passing Markup validator. returning parse-error.

I tried removing every tags, but its not working.

I need to have no errors on validator for cs50 course.

<head>
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
    <link href="styles.css" rel="stylesheet">
    <title>START of >>> the thing</title>
    <nav  style="width: 100%; padding: 3%; background-color: #ffffff;">
        <a  href="../index.html">MUNKHSULD. B</a>
        <a  aria-current="page" href="../about.html">ABOUT</a>
        <a  href="../contact.html">CONTACT</a>
        <a  href="../wiki.html">WIKI</a>
    </nav>
</head>

<body class='back'>
    <h1 class='title'>Hello, this is my home page, which is written on CSS, HTML and JAVASCRIPT.</h1>
    <p class='para'>I have just started coding through CS50, couple months ago.</p>
    <p class='para'>So  I really appreciate cs50 for doing all of this. Its just amazing opportunity.</p>
</body>

<footer >
<ul >
  <li ><a href="../about.html" >About</a></li>
  <li ><a href="../contact.html" >Contact</a></li>
  <li ><a href="../wiki.html" >Wiki</a></li>
</ul>
<p >© 2022 Munkhsuld Baatarkhuu</p>

CodePudding user response:

I have never used Nu HTML Checker, perhaps the error isn't in your code. Just as the site says it is an ongoing experiment

I believe that you need to try an HTML Lint. Just google it and you will find several.

Here I paste the links to some of them:

I do my programming in Ruby on Rails, and it has some great lints and tools to automate the lint checking process. Perhaps the language that you use to program might also have lints and similar tools

CodePudding user response:

it seems, that the problem was with the validator itself. other validators pretty much works fine.

  • Related