skip to Main Content

I want to write a code for the following content in html. First sentence in one frame and remaining in another frame.

Welcome to Steeloncall Your premier online marketplace for all things steel! We pride ourselves on offering a comprehensive range of top-quality steel products, tailored to meet your diverse needs. From [TMT Bars](https://steeloncall.com/tmt-bars) and MS Sheets to MS Squares, MS Channels, MS Angles, MS Plates, MS Flats, MS Rounds, Beams, and Binding Wire, we have everything you need to complete your projects with strength and precision.

2

Answers


  1. <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Steeloncall</title>
    </head>
    <body>
    
    <!-- Frame 1 -->
    <div style="border: 1px solid black; padding: 10px;">
      <p>Welcome to Steeloncall</p>
    </div>
    
    <!-- Frame 2 -->
    <div style="border: 1px solid black; padding: 10px;">
      <p>Your premier online marketplace for all things steel! We pride ourselves on offering a comprehensive range of top-quality steel products, tailored to meet your diverse needs. From <a href="https://steeloncall.com/tmt-bars">TMT Bars</a> and MS Sheets to MS Squares, MS Channels, MS Angles, MS Plates, MS Flats, MS Rounds, Beams, and Binding Wire, we have everything you need to complete your projects with strength and precision.</p>
    </div>
    
    </body>
    </html>

    Two elements are used to create the two frames.
    Each has a border property to create a border around the frame and padding to add space inside the frame.
    The first contains the first sentence, "Welcome to Steeloncall".
    The second contains the remaining content, including the hyperlink.
    The hyperlink is created using the tag with the href attribute linking to the TMT Bars page on the Steeloncall website.
    You can adjust the border, padding, and other CSS properties to customize the appearance of your frames as needed.

    Login or Signup to reply.
  2. Why don’t you use the hr element to separate them?

    Welcome to Steeloncall 
    <hr>
    Your premier online marketplace for all things steel! We pride ourselves on offering a comprehensive range of top-quality steel products, tailored to meet your diverse needs. From [TMT Bars](https://steeloncall.com/tmt-bars) and MS Sheets to MS Squares, MS Channels, MS Angles, MS Plates, MS Flats, MS Rounds, Beams, and Binding Wire, we have everything you need to complete your projects with strength and precision.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search