A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
HTML could be a legitimate (X)HTML.
In such case, it is very easy to process in T-SQL via its XQuery support.
Indeed. Hopefully that is the case for Ranga.
However, HTML is more lax than XML. XML requires all tags to be closed. In the above sample, you have <br />, which is good. But HTML permits <br> only. And if your HTML looks like that, you cannot convert it to the XML data type. So how you do parse it in that case? Not in T-SQL, that much is clear. If you want to do it from SQL Server, you would have to use the CLR, or call a script in Python or similar if you have the Machine Learning Extensions installed. (For Python, you need SQL 2017 or later.)