HTML
- Text: Use tags like
<h1>
, <p>
, and <span>
to structure text.<h1>Heading</h1>
<p>This is a paragraph.</p>
<span>Inline text</span>
- Images: Use the
<img>
tag with src
and alt
attributes.<img src="image.jpg" alt="Description of image" />
- Links: Use the
<a>
tag with href
to create hyperlinks.<a href="https://example.com">Visit Example</a>
- Inputs & Forms: Use
<input>
, <textarea>
, and <form>
tags to create user inputs.<form>
<input type="text" placeholder="Enter your name" />
<textarea placeholder="Enter your message"></textarea>
<button type="submit">Submit</button>
</form>
- JSX: HTML-like syntax used in React components.
function App() {
return <h1>Hello, World!</h1>;
}
- Font Awesome Icons: Use the Font Awesome library to add icons to your project.
<FontAwesomeIcon icon={faArrowLeft}/>