WordPress.org

Ready to get started?Download WordPress

Forums

Source Code (5 posts)

  1. dman630
    Member
    Posted 1 year ago #

    When viewing the source code the spacing between html tags do not render normally. Tags looked scrunched together and are not evenly spaced. For example my code looks like this;

    <!DOCTYPE HTML><html
    lang="en-US"><head><link
    rel="stylesheet" type="text/css" href="http://ezlocalonlineadvertising.com/wp-content/w3tc/min/4ed555e3.4d1b29.css" media="all" /><script type="text/javascript" src="http://ezlocalonlineadvertising.com/wp-content/w3tc/min/010aab69.5d542a.js"></script><meta
    charset="UTF-8" /><link
    rel="profile" href="http://gmpg.org/xfn/11" /><meta
    name="viewport" content="width=device-width, initial-scale=1.0"/><title>Internet Marketing for Local Businesses | Online Marketing Consultant - Naperville, IL</title>

    [Please be sure to use the code buttons or backticks when posting code]

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    you possibly have a cache plugin activated (?)

  3. dman630
    Member
    Posted 1 year ago #

    Yes, but why does the cache plugin do that? Is that because it minifies the source code?

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    but why does the cache plugin do that? Is that because it minifies the source code?

    the cache plugin compacts the code by removing unneccessary spaces and linebraeks, and writes all in one very long line...

    it is the broswer's 'view source' screen that breaks the lines at these odd places;

    but please don't ask me why ;-(

  5. dman630
    Member
    Posted 1 year ago #

    Thanks for explaining, my bad I'm just curious. When I see something that doesn't appear normally it freaks me out. Thanks, alchymyth.

Topic Closed

This topic has been closed to new replies.

About this Topic