Semantic tags
Tags whose names say what they mean: header, nav, main, section, footer
Words that go with it
- AttributeA setting inside an opening tag, like href="/contact"
- classNameJSX's name for HTML's class: where the styles go
- Closing tagThe tag with a slash, like </p>, that ends an element
- ComponentA reusable block of page, written as a tag with a capital letter, like <Hero />
- ElementAn opening tag, its content and its closing tag, together
- Fragment<> and </>: an invisible wrapper that adds nothing to the page
- Go to DefinitionCmd/Ctrl-click a name in Cursor to jump to the file where it's made
- JSXHTML written inside JavaScript. The format of your .tsx files
- NestingElements inside other elements, like boxes inside boxes
- Self-closing tagA tag with nothing inside that closes itself, like <br /> or <Hero />
- TagA word in angle brackets, like <p>, that marks a piece of the page