I'm hoping you guys can shed some light on this.
I'm writing a quiz program. I'm pulling questions and answers from a db. Some answers require a checkbox, some a text input, etc. So instead of writing a decision block to determine what type of input tags are needed, I was wondering about storing the content (answers in this case) with their needed html tags in the db instead, so when I iterated through the answers query, each answer would come with its needed input tags.
I'm wondering if I can get your opinions, any known standards/problems, etc. for storing content with html tags in the database.
Thanks in advance for reading.