# HTMLCSS

## Carousel

If you have multiple pictures, consider a [carousel](https://www.w3schools.com/bootstrap/bootstrap_carousel.asp).

## In-line Elements

If you want multiple HTML elements to be in the same line, do this:

**CSS File:**

```css
.block {
  display: inline-block;
}
```

**HTML File:**

```markup
<p id="typing" class="block"></p>
<span id="cursor">|</span>
```

## Font Awesome

Really easy to use, get the embed URL from the website and copy and paste the HTML codes. Sometimes the code doesn't work. Try `fa`, `fas`, or `fab`.

## Emojis

```markup
<p>I will display &#129409;</p>
<p>I will display &#x1F981;</p>
```

Search the emoji on google with HTML to get the respective hexadecimal code.

## Open link in new tab

```markup
<a href="https://github.com/lauradang" target="_blank">
```

## Space in HTML

```markup
&nbsp;
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lauradang.gitbook.io/notes/web/htmlcss.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
