how to add the Alt-Tag into the wordpress theme

Do you mean the alt tag for images? You can enter those via the Media section. When you open a specific image, you can enter it there:

Thank you for the replay

1 Like

Still not working, when I exports the wordpress theme from blocs. Still not taking the alt info from the photo
<img src="<?php if (empty(get_the_post_thumbnail_url())){echo get_template_asset_path("/img/placeholder-image.png");}else{echo get_the_post_thumbnail_url();} ?>" class=“img-fluid mx-auto d-block " alt=”" />