# $field->inline()

Strips all block-level HTML elements from the field value, it can be safely placed inside of other inline elements without the risk of breaking the HTML structure.

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/config/methods.php#L406>

****

```php
$field->inline(): Kirby\Content\Field
```

## Return type

`Kirby\Content\Field`

This method modifies the existing `$field` object it is applied to and returns it again.


## Examples

```php
<h3><?= $page->title() ?></h3>
<p><?= $page->text()->kt()->inline() ?></p>
```