The Pathfinder 2 site (pf2.d20pfsrd.com) uses a number of special CSS classes to identify metadata within pages.
Creatures should always begin with the following format (using the Aasimar Redeemer as an example - change names, levels, and traits to match your creature, obviously!
<h4 class="monster">Aasimar Redeemer<span class="monster-type">Creature</span><span class="monster-level">5</span></h4>
<p class="traits"><span class="alignment">NG</span> <span class="size">Medium</span> <span class="trait">Aasimar</span> <span class="trait">Human</span> <span class="trait">Humanoid</span></p>
Spells should always use the following format example:
<h4 class="spell">Vampiric Touch<span class="spell-type">Spell</span> <span class="spell-level">3</span></h4>
<p class="traits"><span class="trait">Death</span> <span class="trait">Necromancy</span> <span class="trait">Negative</span></p>
<p><b>Traditions</b> <span class="traditions">arcane, divine, occult</span></p>