You're writing HTML! You're doing it! Everything you need to know is just another tag!

For example, a link to another site looks like this:

<a href="http://neocities.org">
Check out Neocities!</a>

Add a link to your favorite site to
the end of the paragraph, right
before the </p> closing tag!

Link tags

<%= erb 'Click me!', layout: false %>

The 'a' in a link tag stands for 'anchor'.

The 'href' is short for 'hypertext reference' - it's a way to reference another hypertext document, like your favorite website!


Nesting

Tags always need to be nested properly, like Russian dolls. Note that both 'a' tags are inside the 'p' tags:

<%= erb '

Welcome! Link!

', layout: false %>

This code is incorrectly nested:

<%= erb '

Welcome! Link!

', layout: false %>