Grow your CSS skills. Land your dream job.

Minor help with HTML

  • # March 27, 2013 at 1:26 pm

    Hi all,
    I am coding my first page and need a little help…I’m not sure what I would search term to find the answer.

    `` is part of the design of my page so I need it to show on my page, but the browser is reading it as code and therefore not visible in the browser.

    What can I do to achieve the desire result of having it visible in the browser?

    Thanks for your help.

    # March 27, 2013 at 1:41 pm

    @colette, I’m sorry, but is there something missing from your post? I don’t see what you’re asking about..

    # March 27, 2013 at 1:46 pm

    @colette, are you talking about displaying code? That is the only thing off the top of my head that would render. If that is the case try using character entities such as &lt ; and &gt ;

    Why dont you make a CodePen so we know what you are talking about.

    # March 27, 2013 at 1:50 pm

    Just added some backticks around the `` part of her post.

    # March 27, 2013 at 2:02 pm

    Ahhh, this makes sense… Thanks @TheDoc..

    @colette, If you want to display code, it is suggested that you use <pre> and <code> tags. Also, try using html entities as well. Im sure there is a reference on this site however, the page i commonly reference is html character entities. You really dont NEED to use code and pre tags, but i believe it is best practice?!

    Here is an Example CodePen. If this isn’t what you are after please clarify :)

    # March 27, 2013 at 2:32 pm

    @JohnMotylJr That is exactly what I’m looking for. So I should have searched for html entities, got it.

    Thanks everyone!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".