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

Validation issue in dreamweaver

New Here ,
Jan 26, 2021 Jan 26, 2021

Copy link to clipboard

Copied

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

 

Views

204

Translate

Translate

Report

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

Copy link to clipboard

Copied

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, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

image.png

 

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Thanks Nancy

It seems to cause more issuesVALIDATION ERROR 2.jpg

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Thanks Nancy I understand. Good advice.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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