Keyword

data-original HTML error

  • Alan Ali
  • Alan Ali's Avatar Topic Author
  • Offline
  • New Member
More
8 years 10 months ago #148892 by Alan Ali
data-original HTML error was created by Alan Ali
Dear All.
I wanna optimize my HTML, BUt Just I have one problem with k2:
line 1265 column 112 - Error: there is no attribute "data-original"
<img src="radionawxo.org/kurdi/templates/sj_worldnews/images/white.gif" data-original="/kurdi/media/k2/items/cache/87a43471d2880b71489e541d9b334b7b_M.jpg" alt="good morning" style="width:252px; " />

...
w3 falidatore:
Line 1264, Column 113: there is no attribute "data-original"

…dnews/images/white.gif" data-original="/kurdi/media/k2/items/cache/d934827a24c…

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

regards

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 10 months ago #148900 by Krikor Boghossian
Replied by Krikor Boghossian on topic data-original HTML error
Hello Alan,

This is a template issue.
You need to address this issue to the template's developer.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Alan Ali
  • Alan Ali's Avatar Topic Author
  • Offline
  • New Member
More
8 years 10 months ago #148903 by Alan Ali
Replied by Alan Ali on topic data-original HTML error
ok thank you

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 10 months ago #148907 by Krikor Boghossian
Replied by Krikor Boghossian on topic data-original HTML error
You 're welcome Alan.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum