# Inserting HTML through the main field

**URL:** <https://forums.ankiweb.net/t/inserting-html-through-the-main-field/25412>\
**Category:** Card Design\
**Created:** [December 16, 2022, 7:29am UTC](https://forums.ankiweb.net/t/inserting-html-through-the-main-field/25412 "2022-12-16T07:29:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![noty](https://avatars.discourse-cdn.com/v4/letter/n/7ba0ec/32.png) [@noty](https://forums.ankiweb.net/u/noty)\
**Post date:** [December 16, 2022, 7:29am UTC](https://forums.ankiweb.net/t/inserting-html-through-the-main-field/25412/1 "2022-12-16T07:29:45Z")

</div>

I prepare a text file, with fields to import.

In one of the fields I want to insert the following command

```auto
<img src="fille.png">

```

So I need it to access the HTML editor.

Is it doable?

---

<div class="post-metadata">

**Author:** ![kleinerpirat](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kleinerpirat/32/19863_2.png) [@kleinerpirat](https://forums.ankiweb.net/u/kleinerpirat)\
**Post date:** [December 17, 2022, 8:12am UTC](https://forums.ankiweb.net/t/inserting-html-through-the-main-field/25412/2 "2022-12-17T08:12:13Z")

</div>

All field content is HTML, so you don’t need any special setting - just import the .txt file.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [January 16, 2023, 8:12am UTC](https://forums.ankiweb.net/t/inserting-html-through-the-main-field/25412/3 "2023-01-16T08:12:32Z")

</div>

Closed on January 16, 2023, 8:12am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
