Menu2
c-10

Dreamweaver's Apply Source Formatting, how to insert a line break after every a tag?

188 2
2026-05-31

Dreamweaver’s “Apply Source Formatting” does not have a direct setting to automatically insert a line break after every <a > tag.

Instead, you control this behavior through the Tag Library Editor in Preferences, where you can define formatting rules for specific tags.

By default, Dreamweaver treats <a > as inline and won’t break lines unless you change its tag formatting preferences.


a-0

Step 1.

Open Tag Library Editor

Go to Edit > Preferences (Windows) or Dreamweaver > Preferences (Mac).

Select Tag Libraries from the left panel.

Step 2.

Find the <a > Tag

In the Tag Library Editor, locate the HTML tag set.

Step 3.

Adjust Formatting Rules

Each tag has options like:

Step 4.

Apply Source Formatting

Once saved, go back to your code.

Use Edit > Code > Apply Source Formatting (or toolbar shortcut).


a-1

Dreamweaver will now insert a line break after each closing </a > tag.

Line breaks before/after start tag

Line breaks before/after end tag

Set “Line break after end tag” for <a > to enabled.

Scroll to find the <a > tag.

已複製到剪貼簿
網址 QR Code (Dreamweaver's Apply Source Formatting, how to insert a line break after every a tag?)
本頁網址 QR Code
a-0
a-t
c-1 9429
c-2 9429
c-4 9429
c-9 9429
c-10 in-art 1262

E-Mail:[email protected]

www.hkcards.com

2010 - 2026

hkcards 倉頡字典
學倉頡
倉頡字母及輔助字形表
下載倉頡字母及輔助字形表 5198