Marking Up Your Post with Quicktags

As you are writing your post, you can use the quicktag buttons, as shown in Figure 15-1, to add some markup to your posts. Table 15-1 shows the functions of these buttons.

Write Post

Title

Post

Quick lags: [b][j]| link |["~b-quote |[dd~||~to|| img | |~jjj] [^j] |~jT| | code ||more || lookup || Close Ifrgs |

Figure 15-1. You can use the quicktag buttons to mark up your post.

Table 15-1. Quicktag Functions

Quicktag

Function

b

Adds strong tags to some text for stronger emphasis

i

Adds em tags to some text for emphasis

link

Adds a link to your post

b-quote

Adds blockquote tags to your post

del

Marks up text as deleted (usually rendered with strike-through)

ins

Marks up text as inserted. (usually rendered as underline)

img

Adds an image to your post

ul

Starts an unordered list in your post

ol

Starts an ordered list in your post

li

Adds an item to your unordered or ordered list

code

Marks up text with code tags

more

Adds a special WordPress more tag to your post

lookup

Allows you to look up a word in an online dictionary

Close Tags

Closes any open tags in your post (but you should normally close them yourself to

achieve the markup you intend)

By using these quicktags, you are marking up the text of your post to describe its meaning. You can emphasize a word, set off a quoted block of text, type out a list of points, and so on. Unlike with a word processor, you are not directly styling your text. You will do that with the CSS of the theme you choose for the blog, as you'll learn in the next chapter.

One way to use the quicktags is to select the text in your post you want to mark up, and then click the corresponding quicktag button. For example, if you have written a sentence and want to emphasize a word or phrase, select the words and click the b or i button. This will enclose your selected words with <strong> or <em> tags, respectively. The <em> tag marks up a word or words as emphasized. Your browser usually represents this by rendering the words in italics. The <strong> tag means a stronger emphasis and is usually rendered as bold.

Another way to use quicktags is to apply them first, and then add the text you want to affect. For example, suppose you are writing a post about an article you read on another web site. You know you want to paste in a block of text as a quotation from the article, marked up with the <blockquote> tag. Click the b-quote quicktag button, and an opening <blockquote> tag will be inserted in your post. You can then paste in your quoted text, as shown in Figure 15-2. You'll see that the b-quote quicktag button has changed to /b-quote. This indicates that you have yet to close the opening <blockquote> tag. Click the button again, and the closing </blockquote> tag will be inserted.

Another quicktag worth noting is the link quicktag. Click the button, and a little dialog box pops up, asking you to "Enter the URL," as shown in Figure 15-3. Type in your URL, and then click OK. The opening anchor tag <a> is inserted in your post with the URL you specified. Type in the words you want to be linked (that is, the words the reader will click on). Click the button (which now says /link) again, and the closing anchor tag </a> will be inserted. Alternatively, if you already have the link words typed into your post, you can use a shortcut: select the words, and then click the link quicktag button. The same dialog box pops up, asking for your URL. After you enter the URL and click OK, the anchor tags for the link will be inserted

Figure 15-2. Adding a <blockquote> tag with the b-quote quicktag button
Figure 15-3. Adding a link with the link quicktag

■ Note If you have the appropriate option set on the Discussion tab of the Options page ("Attempt to notify any Weblogs linked to from the article"), any links in your post that look like permanent links to blog posts or news stories will be automatically pinged when you publish your blog post. This behavior can be overridden for individual posts by using the Advanced Editing mode, which is described later in this chapter.

Was this article helpful?

0 0

Post a comment