I have a task to write something like this on HTML page:

Math tag (of HTML) is not good because it couldn't deal with the tag break in between parts "/begin()-/end()". So, creating something like this (working great at LaTeX):
$
\left\lbrace
\begin{matrix}
$Option1$\\
$Option2$
\end{matrix}
\right\rbrace
$
In HTML:
<p><span class="math inline">\(\left\lbrace
\begin{matrix}\)</span>
Option1
<span class="math inline">\(\\
\)</span>
Option2
<span class="math inline">\(\end{matrix}
\right\rbrace\)</span></p>
Is not working. /begin and /end are in different spans and it is breaking LaTeX internal process. I need to take out options from math tags, because I need to apply my own formatting to them. Funny part: If I'll use CSS
.math {
}
It could change color and size, but not font famaly or italic/bold format.
Using the HTML table structure is also not helping because {} symbols are not covering full height of options part (number of elements could rise up to 7).
As result I'm out of possible solutions here. May somebody share idea how I could cover this task? If possible I want to avoid SVG/PNG or any other image type for support of different screen sizes.