Adding and removing elements
Create new elements and put them in the page with append, prepend, before and after; remove them with remove and empty.
This lesson is part of the full jQuery tutorial
Registered students: sign in to read every lesson. Others can sign in and enter a Tutorial Access passcode once; the account keeps the access.
Lessons marked Free in the list can be read without a passcode.