Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

data-original HTML error
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: data-original HTML error

data-original HTML error 9 years ago #26393

Dear All.
I wanna optimize my HTML, BUt Just I have one problem with k2
I asked k2 thay answer to ask you
"This is a template issue.
You need to address this issue to the template's developer. "

thats my problem:
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; " />

...
also from w3 Validatore:

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
Last Edit: 9 years ago by shnaybaa.
The topic has been locked.

Re: data-original HTML error 9 years ago #26398

Please answer me
The topic has been locked.

Re: data-original HTML error 9 years ago #26506

  • thuygtn
Dear shnaybaa,

Because our template already overridden K2 modules, and it uses 'data-original' for js code.
The theme that you installed, it's old version and when we developed this theme, the attribute 'data-original' was accepted.
Maybe, it isn't standard code in css code in w3 Validation now. We will consider to update this issue in new version

Thanks
The topic has been locked.

Re: data-original HTML error 9 years ago #26563

thank you for replay, my k2 version is 2.6.9 and the problem exactly with SJ Mega K2 News Module
could you let me know how can I fix it?
Last Edit: 9 years ago by shnaybaa.
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.22 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes