klez wrote:
> * When the entry is about a project (e.g. WebKit)
> * <a href="http://....">WebKit official page</a>
> or similar wording but same structure, that is, whole phrase as a link
Agreed. That is the way it should be done. <a
href="
http://external.link">Official WebKit documentation</a> (or
similar; the point is, all text inside the link).
> * When we are linking to an external reference (Wikipedia, OWASP, etc.)
> * <a href="http://.....">WebKit</a> on Wikipedia
> which is consistent with what we have done so far
Here I would amend this slightly:
For links to a definition of a term on another site (such as linking to
the "WebKit" article on MDN, I'd do it just like you do above; the fact
that it's on another site is incidental and not particularly important
to the reader. For instance: "
On the other hand, if the link's purpose is to provide an authoritative
explanation or overview or specification, then including the name of the
destination in the link makes sense to me, as in: "For details, see <a
href='
https://www.khronos.org/opengles/sdk/docs/man/xhtml/glLineWidth.xml'><code>glLineWidth()</code>
in the OpenGL ES specification</a>." In this case, making it clear that
the target of the link is authoritative rather than simply a
possibly-interesting page is accomplished by including the name of the
target site.
> * When the link is internal to MDN (e.g., the Hyperlink entry has
> links to the <a> and <link> elements reference)... I have to admit I'm
> a little bit torn about this. In the given example I see
> * <a href="http://..."><a> on MDN</a>
> which may be good. But I'd prefer something like
> * <a href="http://..."><a> reference</a>
> where "reference" can be substituted with "tutorial" or "guide" as needed.
There should never be "on MDN" in links which are internal to MDN. It's
just not necessary. I agree with you entirely here; these links should
always be either simply "<a href='/en-US/docs/Web/HTML'>HTML</a>" or "<a
href='/en-US/docs/Web/HTML/Element'>HTML element reference</a>.
--
Eric Shepherd
Senior Technical Writer
Mozilla <
https://www.mozilla.org/>
Blog:
http://www.bitstampede.com/
Twitter:
http://twitter.com/sheppy
Check my Availability <
https://freebusy.io/eshe...@mozilla.com>