If this code is showing up as text on your live post instead of displaying an image, it usually indicates a in your editor:
: This tells the browser to decode the image in the background (asynchronously). Normally, a browser might stop rendering the rest of the page while it figures out how to display a large image; this attribute keeps the text and other elements moving while the image processes. <img decoding="async" loading="lazy" class="ali...
: You may have accidentally pasted HTML code into a "Visual" or "Rich Text" editor instead of a "Code" or "HTML" block. If this code is showing up as text
: Some WordPress themes or optimization plugins might double-up on these attributes, causing the browser to misinterpret the tag. : Some WordPress themes or optimization plugins might
: This is "lazy loading," which instructs the browser to only download the image when it is about to appear on the user's screen (e.g., as they scroll down). This saves bandwidth and makes the initial page load much faster.
: This is a CSS class used to position the image, such as aligncenter , alignleft , or alignright . Why You Might See This Code
Best WordPress Plugins for 2023 - We Did the Research for You