Jump to content

User:Dylan620/Adoption/Rkr1991/lesson2

From Wikipedia, the free encyclopedia

About HTML[edit]

Here's a tutorial in HTML, like you asked. :)

Font colors[edit]

You can change font colors of text here on Wikipedia. For example, let's just say I wanted to type something red, like this. I would insert <font color="red"> just before the word "like," and would insert </font> just after the word "this" to close it out. For instance:

<font color="red">like this</font>

produces:

like this

How to change colors in links[edit]

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

In the above paragraph, {{lorem}} is in the font color green. However, links (the links in the above paragraph are to Lorem ipsum, sit, and Duis) break the font color pattern. In order to fix this problem, I would have to type the following HTML... (be sure to run your cursor over the text in green!)

...for Lorem ipsum[edit]

[[Lorem ipsum|<font color="green">Lorem ipsum</font>]]

which produces:

Lorem ipsum.

...for sit[edit]

[[sit|<font color="green">sit</font>]]

which produces:

sit.

...for Duis[edit]

[[Duis|<font color="green">Duis</font>]]

which produces:

Duis.

The paragraph with the fixes applied[edit]

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Linking[edit]

Linking is one of Wikipedia's most important features.

Internal linking[edit]

Internal linking is linking to other pages within Wikipedia. For instance, your userpage can be linked to if two brackets ([[) are each placed before and after User:Rkr1991. For instance:

[[User:Rkr1991]]

produces:

User:Rkr1991.

Piping[edit]

Let's just say that I wanted to link to pie, but wanted the the text to show up as "bull." I would type:

[[pie|bull]]

which produces:

bull.

External linking[edit]

External linking is linking to other websites outside of the Wikimedia Foundation (WMF). For instance, http://example.org can be linked to by means of the following methods:

I would have used a real website, but I didn't want to get accused of linkspamming.

Interwiki linking[edit]

From here (and every other WMF wiki), you can link to every other WMF wiki.

Here are my userpages on other WMF projects:

For more info...[edit]

...see WP:CHEAT. Cheers!

Signature[edit]

You can make a pretty cool signature from HTML. To make your own customized signature, go to your Special:Preferences, check the "raw signature" box, and enter HTML into the box. Here are some suggestions from me for signatures:

  1. Rkr1991
  2. Rkr1991 (Wanna chat?)
  3. _Rkr_t_
  4. Rajagopal (talk · edits)
  5. rkr1991 mailboxhistory
  6. RKR '91

Would you like any of the above signatures? --Dylan620 (contribs, logs) 19:57, 25 July 2009 (UTC)