Theocracy Theocracy - 1 month ago 10
CSS Question

Why is my heading and text not appearing?

I'm sure this is really simple, sorry but I'm a web noob. I can't get the headings to show up on the page.

<html>

<style>

body {
background: linear-gradient(to right, #bdc3c7, #2c3e50);
}

<style/>

<body>

<h1>That Was Then<h1/>
<p> A toronto based band <p>

<body/>

<html/>

Answer

The syntax for an end tag is </type> not <type/>.

This would have been picked up if you had used a validator.