1. ID Attribute in HTML

This paragraph has a unique ID.

2. Difference Between Class and ID

This is an ID example (unique).

This is a Class example (can be multiple).

Another paragraph using the same Class.

3. Bookmarks with ID and Links

Go to Section 1 | Go to Section 2

Section 1

This is Section 1 content. The size of this section has been increased for better visibility.

Section 2

This is Section 2 content. The size of this section has been increased for better visibility.

4. Using ID Attribute in JavaScript

This text will change using JavaScript.