HTML Note item

HTML attributes common reference attribute value

  Attribute values ​​should always be included in quotation marks.

  Double quotes are the most common, but there is no problem using single quotation marks.

  Tip:  In some rare cases, such as the attribute value itself contains double quotation marks, you must use single quotes, such as: name = 'John "ShotGun" Nelson'

Guess you like

Origin www.cnblogs.com/Rain2017/p/10963585.html