Personalized checkout and custom promotions with Shopify Scripts
Hello, I'm new to coding and wanted to give it a try! I'm adding a button to my product page but when I make test the code on https://www.w3schools.com/ and transfer it to my HTML product link it changes the code.
Example:
<a href="https://www.sarskild.com/pages/client-services-book-a-fitting" class="button1" target="_blank">Client Services<br><medium>Enquire A Studio Visit 〉</medium></a>
Changes to
<a class="button1" href="https://www.sarskild.com/pages/client-services-book-a-fitting" target="_blank">Client Services<br></a><medium>Enquire A Studio Visit 〉</medium> <!-- HTML !-->
Would love to know why! Thank you!
What is the <medium> element you're adding? Are you hoping to bold the text?
I would suspect the html validator is asking something similar to me and trying to make your code valid.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024