Add text and tables to your page with the Text web part

When you add a modern page to a site, you can add and customize web parts, which are the building blocks of your page.

Use the Text web part to add paragraphs to your page. Formatting options like styles, bullets, indentations, highlighting, and links are available.

To use the Text web part, do this:

  1. On your page, hover your mouse above or below an existing web part and you'll see a line with a circled +, like this:

    Plus sign for adding web parts to a page

  2. Click + and then choose Text from the list of web parts.

  3. Click inside the box and the formatting toolbar will display.

    Text web part
  4. Enter your text, and format it using the formatting toolbar. To open or close the Text and table formatting pane, click the ellipses (...) on the right side on the toolbar.

    Text web part formatting pane

    In the formatting pane, you can do everything you can do in the toolbar plus:

    • Undo and redo changes

    • Clear formatting from the selected text

    • Choose from 10 available font sizes

    • Change font color using standard or theme colors (theme colors change to reflect the theme of the site)

    • Add a highlight color

    • Use strikethrough

    • Use subscript and superscript

    • Indent text

    • Insert a table and choose table styles and alignment

Insert a hyperlink

  1. Click Hyperlink Hyperlink in the toolbar or in the Text and table formatting pane, or use CTRL+K. If you select a word before clicking, that word is used as a keyword to search for pages.

    Insert link dialog box
  2. In the Insert Link dialog box, type the address of the link in the Address box, and the text you want linked in the Text to display box.

    Optionally, if you want to link to a page on the site, you can search for it using the Search box, and then select the page in the results list.

  3. When you're done, click Save.

Insert a table

  1. Click the Insert table button in the Text and table formatting pane. A simple table of 3 columns and 3 rows is inserted.

    You can format the text in the table by using the text formatting tools available on the toolbar or in the Text and table formatting pane.

    Insert table options

    Choose a table style

    You can choose a simple table style or a themed table style. The themed table styles (shown in the second row) reflect the theme color used on your site. From left to right, the table styles are:

    • Plain

    • Subtle header (header has a bottom border)

    • Header (header row has solid color and reverse font)

    • Alternating rows (header row has solid color and reverse font, and alternating rows are shaded)

    • Column header (header row has solid color and reverse font, first column and alternating rows are shaded)

    Insert and delete rows and columns

    Add or remove rows or columns, or delete the entire table, by clicking the appropriate buttons in the Text and table formatting pane. You can also use the Tab key to navigate within the table and to add rows. From the left to right, the options are:

    • Insert row above

    • Insert row below

    • Insert column to the left

    • Insert column to the right

    • Delete the selected row

    • Delete the selected column

    • Delete the entire table

    Set table alignment

    Use the table alignment buttons to position the entire table within the web part space. You can align the table to the left, center, or right.

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.