How to make box in gmail compose mail

You're referring to creating a table or a box in the Gmail compose email body!

To create a table or a box in the Gmail compose email body, you can use HTML code. Here's a step-by-step guide:

Method 1: Using the Gmail Compose Editor

  1. Compose a new email in Gmail.
  2. Click on the "Compose" button to open the compose window.
  3. Click on the "Insert" menu and select "Table" or "Box" from the dropdown menu.
  4. A table or box will be inserted into the email body. You can customize its size, border, and content by using the options provided in the "Table" or "Box" menu.

Method 2: Using HTML Code

  1. Compose a new email in Gmail.
  2. Click on the "Compose" button to open the compose window.
  3. Switch to the HTML editor by clicking on the "Switch to HTML" button at the bottom of the compose window.
  4. In the HTML editor, you can add the following code to create a table or box:
    • For a table: <table border="1" cellpadding="5" cellspacing="0">...</table>
    • For a box: <div style="border: 1px solid #ccc; padding: 5px;">...</div>
  5. Replace the ... with your desired content, such as text, images, or other HTML elements.
  6. Close the HTML editor by clicking on the "Switch to Compose" button.

Here's an example of how you can create a simple table using HTML code:

<table border="1" cellpadding="5" cellspacing="0">
  <tr>
    <td>Cell 1</td>
    <td>Cell 2</td>
  </tr>
  <tr>
    <td>Cell 3</td>
    <td>Cell 4</td>
  </tr>
</table>

And here's an example of how you can create a simple box using HTML code:

<div style="border: 1px solid #ccc; padding: 5px;">
  This is a box!
</div>

Remember to format your HTML code correctly, and make sure to test your email in different email clients to ensure that the table or box displays correctly.