有没有办法在PhP标签中包含HTML?

I am working on a Content management system, which can be found here: https://ostcms.tinii.biz/ but I am having a serious issue.

The concept behind it is making the user experience easy, but still providing a hands on experience with PhP, and I want to be able to have a variable called '$content' that the user can put plain HTML text into.

Example:$content="<img src="/taco.png>";

This does not work, however putting in text formatting tags does.

I was considering allowing the user to just put an image after each paragraph with a $image1, $image2, etc. variable, but I would prefer to simply have the user put all of the text into one

You need to escape the quotes in the string, or use single quotes within the HTML"

$content="<img src=\"/taco.png\">";

$content="<img src='/taco.png'>";