WordPress.org

Forums

Question about the requirment of an angle bracket (2 posts)

  1. skeeterz71
    Member
    Posted 1 year ago #

    Hi,

    I'm trying to learn how to create custom themes. I have this piece of code:

    <div class="postSnippet">
    				<h1><a href="<?php the_permalink(); ?>" title="Permanent Link to <?php the_title_attribute(); ?>"<strong>></strong> <?php the_title(); ?></a></h1>
    				<?php the_content(); ?>
                    </div>

    Notice the angle bracket in bold. I can't figure out why it is required. I don't see what it is closing. Is it a php thing?

    Thanks

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 1 year ago #

    The strong tags got printed as you can't embolden text within code tags on the forum.

    The > goes with the <a href

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.