HTML Code Not Executing Properly |
HTML Code Not Executing Properly |
Rob McSmiley |
Sep 18 2019, 12:54 PM
Post
#1
|
Group: Members Posts: 3 Joined: 18-September 19 Member No.: 26,993 |
Hi guys - I have a question that has come to me via my wife...she has a piece of code that doesn't seem to be executing properly and since I have no expertise with HTML I am hoping you will be willing to share some of yours. In looking at the code I am wondering if the use of forward slashes with "1/2" and "latex/Adhesives" might be the culprit. If you see any coding which might be incorrect or if the statement is not formatted correctly I would really appreciate your input
Many thanks in advance. Rob Product Highlights <b>FlatOut Tire Additive by Mulit Seal Sportsman Formula</b><br/> <ul> <li>Great for ATVs, UTV's. Side by Sides, Golf Carts, Dirt Bikes, Off-Road-Only Jeeps and more</li> <li>Prevents flats and seals leaks and serious puncture protection up to1/2 inch.</li> <li>Unique formula with super-strong Kevlar fibers is non-toxic plus NO latex/Adhesives, so it never becomes sticky. Easy water cleanup. One 32 ounce bottle for each tire in most ATV, UTV, golf car and off-road-only Jeep applications.</li> Attached thumbnail(s) |
Christian J |
Sep 18 2019, 02:34 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
The code example you posted looks OK, slashes in text content is fine.
Since the attached screensshots show both rendered and not rendered HTML, my guess is that the code snippet on the page is using HTML entities instead of proper < and > characters for the HTML elements, as explained here: http://htmlhelp.com/faq/html/basics.html#show-html If you post a link to a sample page we might take a proper look. |
pandy |
Sep 18 2019, 02:53 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Some editors do that if you don't save in the correct way. Are you on Mac?
|
Rob McSmiley |
Sep 19 2019, 08:38 AM
Post
#4
|
Group: Members Posts: 3 Joined: 18-September 19 Member No.: 26,993 |
The code example you posted looks OK, slashes in text content is fine. Since the attached screensshots show both rendered and not rendered HTML, my guess is that the code snippet on the page is using HTML entities instead of proper < and > characters for the HTML elements, as explained here: http://htmlhelp.com/faq/html/basics.html#show-html If you post a link to a sample page we might take a proper look. Here you go Christian - Thanks again for your help! https://www.walmart.com/ip/Mulit-Seal-FlatO...alant/632481284 |
Christian J |
Sep 19 2019, 01:32 PM
Post
#5
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
Walmart?
Anyway, the HTML on the linked page contains this, which is incorrect: CODE <![CDATA{FlatOut Tire Additive by Mulit Seal Sportsman Formula The beginning < entity should probably be a < character, also this whole part: CODE <![CDATA{ appears to be inserted by mistake and out of context. (Also the HTML is much more bloated than the example in the first post.) |
pandy |
Sep 19 2019, 01:40 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
I see only one instance on that page.
Product Highlights <![CDATA{FlatOut Tire Additive by Mulit Seal Sportsman Formula In the source you have this. QUOTE <![CDATA{FlatOut Tire Additive... 1. Something has converted < to an entity. 2. There is no closing > 3. The CDTATA blurb has nothing there to do in the first place. I don't know when the CDATA entered the mix. Can it have ended up there by accident when you copy-pasted content in? Otherwise, if it's some server side script you have a lot of searching to do, I suspect. Does this happen to several pages or just this one? I guess several since your screen cap must come from another page... |
Rob McSmiley |
Sep 19 2019, 07:14 PM
Post
#7
|
Group: Members Posts: 3 Joined: 18-September 19 Member No.: 26,993 |
Walmart? Anyway, the HTML on the linked page contains this, which is incorrect: CODE <![CDATA{FlatOut Tire Additive by Mulit Seal Sportsman Formula The beginning < entity should probably be a < character, also this whole part: CODE <![CDATA{ appears to be inserted by mistake and out of context. (Also the HTML is much more bloated than the example in the first post.) Yeah, WM suppliers create their own info page and submit for approval. Thanks so very much Christian, I'm sending this off to my wife to implement the corrections!! Rob |
pandy |
Sep 20 2019, 06:02 AM
Post
#8
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
You may still want to check what your (your wife's) editor is doing if that happens on several pages. But you don't seem to talk to me so...
|
Dhruva |
Nov 4 2019, 02:43 PM
Post
#9
|
Newbie Group: Members Posts: 11 Joined: 4-November 19 Member No.: 27,032 |
Hi guys - I have a question that has come to me via my wife...she has a piece of code that doesn't seem to be executing properly and since I have no expertise with HTML I am hoping you will be willing to share some of yours. In looking at the code I am wondering if the use of forward slashes with "1/2" and "latex/Adhesives" might be the culprit. If you see any coding which might be incorrect or if the statement is not formatted correctly I would really appreciate your input Many thanks in advance. Rob Product Highlights <b>FlatOut Tire Additive by Mulit Seal Sportsman Formula</b><br/> <ul> <li>Great for ATVs, UTV's. Side by Sides, Golf Carts, Dirt Bikes, Off-Road-Only Jeeps and more</li> <li>Prevents flats and seals leaks and serious puncture protection up to1/2 inch.</li> <li>Unique formula with super-strong Kevlar fibers is non-toxic plus NO latex/Adhesives, so it never becomes sticky. Easy water cleanup. One 32 ounce bottle for each tire in most ATV, UTV, golf car and off-road-only Jeep applications.</li> didn't closed </ul> and <sup>1</sup>/<sub>2</sub> can be looks Good |
Lo-Fi Version | Time is now: 23rd April 2024 - 01:46 AM |