Recently, I came across an extensive HTML file that resembles the snippet below:
<body lang=EN-US style='word-wrap:break-word'>
<div class=WordSection1>
<p align=center style='margin-top:0in;margin-right:0in;margin-bottom:12.0pt;
margin-left:0in;text-align:center'><b><span style='font-size:14.0pt;font-family:
"Segoe UI",sans-serif;color:#172B4D;letter-spacing:-.05pt'>İstifadə
şərtləri razılıq anlaşması</span></b></p>
<p align=center style='margin-top:0in;margin-right:0in;margin-bottom:12.0pt;
margin-left:0in;text-align:center'><strong><span lang=AZ-LATIN
style='font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#172B4D;
letter-spacing:-.05pt'>(Xidmət şərtləri və
Məxfilik siyasəti)</span></strong></p>
</div>
</body>
I also have a modal
component wherein I need to display this styled text from the HTML file. Despite attempting to save the file in both the public
and src
folders, I have been unsuccessful in importing or viewing the content within the modal. Can anyone suggest a straightforward solution to this issue?