HTML - Title & Paragraph

Are you writing a page in HTML and need to add a title and paragraph to it? It seems like a simple request but if you're totally new to HTML, we thought we'd share the best way to format it. This code will give you exactly what you're after:

Code: Select all

<!DOCTYPE html>
<title>Page Title</title>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>


Who is online

Users browsing this forum: No registered users and 1 guest