Skip to main content
Participant
November 17, 2021
Question

linearGradient tag marked as an error

  • November 17, 2021
  • 2 replies
  • 178 views

Dreamweaver marks the tag linearGradient as an error, and asks to make it lowercase: lineargradient.

It is an error i think to fix.

    This topic has been closed for replies.

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    November 18, 2021
    quote

    Dreamweaver marks the tag linearGradient as an error, and asks to make it lowercase: lineargradient.

    By @alessandros5227034

    ==========

    Hi @alessandros5227034,

    CSS is NOT cAsE sEnSiTiVe.  But HTML code IS cAsE sEnSiTiVe.  So to remain consistent, it's best to use lower case style rules. 

    See below for details.

    https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/linear-gradient()

     

    Hope that helps.

     

    Nancy O'Shea— Product User & Community Expert
    Jon Fritz
    Community Expert
    Community Expert
    November 18, 2021

    There are a large number of items DW marks as errors that really aren't. It has to do with DW's Linting feature being a little overzealous about code inconsistencies.

    You can turn it off if you don't like it.

     

    Edit > Preferences > Linting > HTML > Edit and Apply > change...

    "tagname-lowercase": true,

    to...

    "tagname-lowercase": false,