Export (0) Print
Expand All

Add a line break

You can create white space in your page or force content, such as text or an image, to appear on the next line below a particular point in your web page by adding a line break at that point.

Cc295387.alert_tip(en-us,Expression.30).gifTip:

To show or hide a line break icon Cc295387.a5a67ebb-4f8b-4d2f-8e00-d6c0e43831d6(en-us,Expression.30).png wherever a line break resides in the Design view of a web page, on the View menu, point to Formatting Marks, and select Show Cc295387.d08797a0-c441-43ec-b55e-52c6b557fef7(en-us,Expression.30).png, and then on the View menu, point to Formatting Marks again, and select Line Breaks Cc295387.a5a67ebb-4f8b-4d2f-8e00-d6c0e43831d6(en-us,Expression.30).png.

In Design view or Code view, in your page, put your cursor where you want to insert a line break, and then do one of the following:

  • On the Toolbox panel, under HTML, under Tags, either double-click Break Cc295387.bd35c990-5663-49ec-a419-811b9023816c(en-us,Expression.30).png or drag Break Cc295387.bd35c990-5663-49ec-a419-811b9023816c(en-us,Expression.30).png to where you want it to reside in your page.

  • On the Insert menu, point to HTML, and click Break. In the Break dialog box, select Normal line break, and click OK.

  • Press SHIFT+ENTER.

    Cc295387.alert_note(en-us,Expression.30).gifNote:

    Pressing SHIFT+ENTER in Code view does not create an HTML line break (<br>).

  1. In Design view or Code view, in your web page, do one of the following.

    • To insert and format a new line break, put your cursor where you want to insert a line break, and then on the Insert menu, point to HTML, and click Break.

    • To format an existing line break, select the line break, and then on the Format menu, click Properties.

  2. In the Break dialog box, select one of the following, and click OK.

    Select this

    To do this

    Normal line break

    Create a default line break.

    Clear left margin

    The next line will begin at the nearest line below any items in the left-hand margin.

    Clear right margin

    The next line will begin at the nearest line below any items in the right-hand margin.

    Clear both margins

    The next line will begin at the nearest line below any items in both margins.

Community Additions

ADD
Show:
© 2014 Microsoft