Shortcuts for marking up a paragraph or a comment in Dreamweaver.

I came across these accidentally the other day, but they both rocked my world when I did. I use HTML comments all the time, and I also am constantly marking up pieces of copy with paragraph tags. Now I know the shortcut keypress in Dreamweaver to achieve this.

The shortcut to markup HTML code with a comment;

Step 1: In Dreamweaver, go to Edit > Keyboard Shortcuts > Snippts > Comments > (Comment Single Line or Comment Multi Line)

Dreamweaver Shortcuts Menu


Step 2:
Set a shortcut keypress. If you haven’t done anything already with making your own shortcuts, you will need to make a duplicate set. (Obviously, since this is a shortcut, there is a place in the code palette under snippets to add these comments. But we want this to be quick.)

Step 3: When you’ve reset the shortcut hit “Ok“.

Step 4:
Highlight a piece of text in Code View and hit your shortcut. Dreamweaver should put it in an HTML comment.

That is a shortcut keypress for an HTML comment. Now, the shortcut in Dreamweaver to enclose something in paragraph tags.

Step 1: Go to Code View. Highlight the piece of text that you want to be a paragraph.

Step 2:
Press Ctrl + Shift + P

Like the comment, you can do this from the regular menus, but you want to be quick about it. If you want to know where it is located, just go up to Insert > HTML > Text Objects > Paragraph. Either way, you should now have two awesome shortcuts in your arsenal for quickly marking up code with a comment or a paragraph tag.

Here are some similar arcade posts
Print This Post Print This Post

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

No comments yet.

Leave a comment

Your email address is never displayed and cannot be spammed. Read our comment privacy policy.

(required)

(required)