Skip to main content
Participant
January 3, 2024
Question

Feature Request: Start Anchor tag on it's own line.

  • January 3, 2024
  • 3 replies
  • 246 views

Feature request: when formatting code, allow the <a> tag to begin on its own line, since HTML5 allows "block level links" where the <a> tag can enclose other tags like <div>s, <figure>s, etc. Thank you.

This topic has been closed for replies.

3 replies

Jon Fritz
Community Expert
Community Expert
January 4, 2024

If DW did that for all <a> tags, your code could get pretty sloppy pretty fast, especially if you have multiple text links throughout a paragraph of text.

That being said, you can make DW do what you want either by manually coding, as Nancy said, or you can make your <a> tags do what you like in your Tag Library.

1. Go to Tools > Tag Library
2. Under HTML tags, highlight "a"
3. Under Tag Format, choose "Before and After Tag" for Line Breaks
4. Hit "OK"

From there on out, your <a> tags will act like block level elements.

Nancy OShea
Community Expert
Community Expert
January 4, 2024

In answer to your question, use CODE View and manually code your anchor tags as required.

 

Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Community Expert
January 4, 2024

@tracem,

You resurrected a very old topic from 2019.  I'm moving it to a new one for you.

 

No feature requests are being accepted for Dreamweaver. It's in minimal maintenance status.

See below for more details:

https://community.adobe.com/t5/dreamweaver-discussions/bootstrap-5/m-p/14046967#M225831

 

 

 

Nancy O'Shea— Product User & Community Expert
tracemAuthor
Participant
January 4, 2024

Thank you for your help, and for the info!