"code-box">
                <div class="bg-gray-800 p-4">
                    <pre>
from bs4 import BeautifulSoup

html_doc = """
&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Sample Page&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id="content"&gt;
      &lt;h1 class="title"&gt;Welcome to the Page&lt;/h1&gt;
      &lt;p class="intro"&gt;This is an introduction paragraph.&lt;/p&gt;
      &lt;div class="section"&gt;
        &lt;h2&gt;Section 1&lt;/h2&gt;
        &lt;p&gt;Content for section 1.&lt;