Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Validation issue in dreamweaver

New Here ,
Jan 26, 2021 Jan 26, 2021

When I try and validate html pages I get the following

line 15 link element between head and body

Any help would be appreciated

VALIDATION ERROR.jpg

 

503
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 26, 2021 Jan 26, 2021

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

BenPleysier_0-1611702975857.png

 

This means that you can safely remove the attribute

BenPleysier_1-1611703038784.png

 

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 26, 2021 Jan 26, 2021

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 26, 2021 Jan 26, 2021

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

image.png

 

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 26, 2021 Jan 26, 2021

Thanks Nancy

It seems to cause more issuesVALIDATION ERROR 2.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 26, 2021 Jan 26, 2021

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!

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 26, 2021 Jan 26, 2021

Thanks Nancy I understand. Good advice.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 27, 2021 Jan 27, 2021
LATEST

Those yellow triangles are only warnings NOT errors and as such don't really matter a lot. You can of course oblige the validator by adhering to its recommendations of what to use and what not to use but warnings will not cause you any issues, it's errors (the white triangles, which rather strangely have the lesser visual impact) that need to be taken more seriously.

 

Validators should be used as a means of help/guidance when coding but you need a good knowledge of coding to understand what you can safely ignore if you choose to do so. Plus validators have the habit of flagging something in the code as a warning or error, when it's not or even not picking up errors at all, so DON'T depend on a validator, use it only as guidance.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines