Convert column value stripping html tags into sql view with rows and columns
TL;DR Answer
Convert HTML to XML and parse with XMLTABLE()
Long Answer
HTML and XML are both descendants of SGML.
From the sample data you have posted, it looks like you just need to remove the &lt;br&gt; tags and wrap desc_data in a root element (eg &lt;row&gt;) for the conversion into XML.
Once in XML format, you can parse the data with XMLTABLE() to give you:

instance of &lt;span&gt; ( via for ordinality, column name RN )
value of @label
value of &lt;span&gt;

This is done within the CTE named xml_data in my example.
Assuming value always follows label, you can convert the instance of &lt;span&gt; ( RN ) to have the same value for each pair. (this is also done in xml_data)
From there, you can PIVOT the data into a table that has:

your row identifier (RID)
value for label (LABEL is a key word so I used LABEL_TXT )
value for value (VALUE is a key word so I used VALUE_TXT )

This is done within the CTE labeled key_val in my example.
For the final query, the final columns names MUST BE KNOWN at compile time.  Once you know the columns, you can just do another PIVOT for a proper table.
Notes
As you can see, HTML is not a good data format to use for parsing data and/or using the data within a computer (eg a database).
Unless desc_data is used for display, I recommend that the data is stored in XML or JSON format.  (I'm assuming you can change the source)
Once data is in a parseable format, PL/SQL is no longer needed.
Example Code
with data as (
    select q'[&lt;span class =&quot;label&quot;&gt;Project Name&lt;/span&gt;&lt;br&gt; &lt;span class =&quot;value&quot;&gt;Digital&lt;/span&gt; &lt;span class =&quot;label&quot;&gt;Dept Name&lt;/span&gt;&lt;br&gt; &lt;span class =&quot;value&quot;&gt;Finance&lt;/span&gt;&lt;span class =&quot;label&quot;&gt;Level&lt;/span&gt;&lt;br&gt; &lt;span class =&quot;value&quot;&gt;Level 5&lt;/span&gt;]'
        as txt
        ,1 AS RID
    from dual
),xml_data as (
select RID, a.rn - mod(a.rn+1,2) rn,a.label_txt, a.val
from data d, xmltable( '/row/span'
    passing xmltype( '&lt;row&gt;' || replace(d.txt,'&lt;br&gt;','') || '&lt;/row&gt;' ) 
    columns
        rn for ordinality,
        label_txt varchar2(20)  path '/span/@class',
        val       varchar2(20)  path '/span'
    ) a
), key_val as (
    select rid, label_txt, value_txt
    from xml_data
        pivot (
            min( val )
            for label_txt in ( 'label' as LABEL_TXT, 'value' as VALUE_TXT)
        )
)
select RID, PNAME, LVL, DNAME
from key_val
    pivot (
        min( VALUE_TXT )
        for LABEL_TXT in ('Project Name' as PNAME, 'Level' as LVL, 'Dept Name' as DNAME )
)