Category: html

  • HTML #168 – Specialized Semantic Elements

    The sub and sup elements are fun with them I can do this

    <p>a<sup>2</sup> + b<sup>2</sup> = c<sup>2</sup></p>

    which would read as

    a2+b2=c2{\displaystyle a^{2}+b^{2}=c^{2}}

    There’s also the code element and pre element

    <pre>
    
        <code>
            print("Is this Codeseption")
    
        </code>
    
    </pre>

    Which would display as

    print("Is this Codeseption")

    Just realized the pre element didn’t do anything back there since their was no need for preformatting but onward.

    Then there’s the ruby element I’m gonna be honest I don’t think I’ll use this that much since it mostly for Asian topography but it’s kinda cool

    <ruby>議長 <rp>(</rp><rt>Chair</rt><rp>)<rp></ruby>

    Which would display as

    I looked it up and the internet says I need a ruby plugin to display this so here’s a picture

    And one last thing. I can do this now HouseMd that’s all bye bye now.