Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 508ce8c

Browse files
committed
Rename page-title id to first-heading (addresses Issue #14)
1 parent f44de1a commit 508ce8c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/structure.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ It looks just like this:
6666

6767
or this:
6868

69-
<div id="page-title">
69+
<div id="first-heading">
7070
<h1>The h1 tags indicates the primary header of the document</h1>
7171
</div>
7272

@@ -81,9 +81,9 @@ can have many attributes, in which case you separate them by spaces, as you'll
8181
see soon. Attributes give information about an element in particular.
8282

8383
In this case, the `<div>` tag (which is used to *divide* groups of elements up)
84-
has an `id` attribute assigned to `page-title`. That's telling us that this
85-
section of the document is designed to hold the page's main title. You will
86-
learn more about specific attributes later!
84+
has an `id` attribute assigned to `first-heading`. That's telling us that this
85+
section of the document is designed to hold the first heading shown on the
86+
page. You will learn more about specific attributes later!
8787

8888
## Html and Head Elements
8989

0 commit comments

Comments
 (0)