Skip to main content
markp46640224
Participant
Jan 26, 2021 11:05 PM UTC
Question

Validation issue in dreamweaver

When I try and validate html pages I get the following

line 15 link element between head and body

Any help would be appreciated

 

    This topic is closed to new replies. Start a new post to keep the conversation going.

    7 replies

    Nancy OShea
    Community Expert
    Community Expert
    Jan 26, 2021 11:35 PM UTC

    LINE 15:  CSS links belong INSIDE the <head>  </head> tags, not outside them.

     

     

     

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    markp46640224
    Participant
    Jan 27, 2021 12:38 AM UTC

    Thanks Nancy

    It seems to cause more issues

    Translate
    Nancy OShea
    Community Expert
    Community Expert
    Jan 27, 2021 1:03 AM UTC

    Not really.  The issues are already there but because you have far too many validation errors, the online validation service is choking on them all & giving up after LINE 48: Cannot recover...

     

    Without seeing a URL, I suggest you spend some time learning proper HTML5 syntax and structure so you can identify your errors and fix them.  DW and Bootstrap both require a good understanding of code basics.  See links below:

    - https://www.w3schools.com/html/
    - https://www.w3schools.com/css/
    - https://www.w3schools.com/js/

     

    Good luck!

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    BenPleysier
    Community Expert
    Community Expert
    Jan 26, 2021 11:18 PM UTC

    The message says it all, in HTML5, there is no need for the type attribute

     

    This means that you can safely remove the attribute

     

     

    Translate
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    markp46640224
    Participant
    Jan 26, 2021 11:28 PM UTC

    Thanks Ben , its line 15 Im having trouble with though.

    Translate