Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

HTML not being displayed properly in Flask, Python

<!DOCTYPE html>

<html lang="en">
  <head>
    <title>Alienated Quiet Lark</title>
    <meta property="og:title" content="Alienated Quiet Lark" />
    <meta property="twitter:card" content="summary_large_image" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta charset="utf-8" />
    <meta property="twitter:card" content="summary_large_image" />
    <link
      rel="stylesheet"
      type="text/css"
      href="{{ url_for('static', filename='main.css') }}"
    />
  </head>

  <body>
    <div>
      <div id="page_holder1" class="home-container">
        <div id="page_holder" class="home-container1">
          <div id="logo_holder" class="home-container2">
            <img
              src="http://ops-software.com/wp-content/uploads/2021/11/cropped-cropped-1-1.png"
              alt="image"
              id="company_logo"
              class="home-image"
            />
          </div>

          <div id="text_holder" class="home-container3">
            <span id="option_text">Please select an option</span>
          </div>

          <div class="home-container4">
            <div id="whale_flight" class="home-container5">
              <span class="home-text01">Whale Watching Flight</span>
              <span class="home-text02">
                <span>Panaramic Whale Flights and Sceanic</span>
                <br />
                <span>Views - 30 or 40</span>
              </span>
              <button
                id="view_whale"
                name="view_whale"
                class="home-button button"
              >
                View
              </button>
            </div>

            <div id="sceanic_flight" class="home-container6">
              <span class="home-text05">Spectacular Scenic Flights</span>
              <span class="home-text06">
                <span>View the Ocean south and mountians north and MORE!!</span>
                <br />
                <span>15 - 25 - 30 Minutes</span>
              </span>
              <button
                id="view_scenic"
                name="vew_scenic"
                class="home-button1 button"
              >
                View
              </button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
 
PREVIOUS NEXT
Tagged: #HTML #displayed #properly #Python
ADD COMMENT
Topic
Name
3+8 =