Yes. There Are Punctuation Rules for Hyperlinks
Just as with other types of writing, punctuation has a role in creating hyperlinks:
Exclude ending punctuation from hyperlinks. When hyperlinking text that has punctuation immediately following it, we recommend that you do not include the punctuation in the hyperlink. Consider again this example from the previous page:
As reported at Endgaget, the buzz this week on tech news sites is Apple’s “iPhone tracking software.” Using data from cell phone towers and wifi networks, iOS constantly stores the phone owners location in an unencrypted file on the phone.
See how the comma following Endgaget is not included in the hyperlink? Do the same thing if hyperlinking text at the end of a sentence followed by a period; don’t include the period in the hyperlink either.
Leave off quotes and italics from titles in hyperlinked text in prose. Another style rule that we recommend involves hyperlinked titles. Bloggers and other social media writers will often include the title of another post or web page in their writing, and then link that title to the original web page. When doing so, be sure to capitalize the title, but do not include quotations as you would in print with smaller works (e.g. a blog post title or news article) or italics with larger works (e.g., a website title). Here’s an example using a modified version of the Endgaget post:
As reported in The iPhone Tracking Fiasco and What You Can Do About It, the buzz this week on tech news sites is Apple’s “iPhone tracking software.” Using data from cell phone towers and wifi networks, iOS constantly stores the phone owners location in an unencrypted file on the phone.
Yes. This is contrary to what writers do in print where quotations and italics are added to emphasize that the text is a title of a work, and whether it is a small or large work. In web writing, the formatting for the hyperlink will emphasize the title that you have already capitalized. The reader can click the link and immediately see what kind of work it is; adding quotes or italics adds unnecessary additional emphasis.
EXCEPTION: if you include a bibliography in your web writing, you should follow the conventions for punctuating titles in the citation format you adopt for your references, whether or not you chose to hyperlink the title of a reference that is also available online.