You could hand-code individual posts, but it’s easier to use post-styling provided by CSS. Once you have added CSS to your site, use these code blocks to add posts:

Replace “This is a blog post heading” with the title of your post.

Replace “This area contains blog body” with your post. Separate your paragraphs with <p> tags.

<div class="blog-post">
	<div class="blog-heading">
		This is a blog post heading.
	</div>
	<div class="blog-body">
		This area contains blog body.
		<p>
		 	Hi there.
		</p>
	</div>
</div>
Adding Posts to your HTML Page

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

css.php