The Current


I am putting together the music pages on the site.


Variations on Zelda's Theme is finished. I am finalizing a couple things, and will be releasing it soon.


I have begun working on a mobile site. This project will also result in graphical elements being added to the desktop site.


My drop-down navigation menu is now functional.


Pocket Beethoven for solo piano is now complete! Engraving will begin shortly.

Attributes

All elements in HTML allow certain attributes to be assigned to them. These attributes are paired with a value, and together, they help the element to function as desired. Attributes are added inside the opening tag, following a space after the tag's name. If multiple attribute-value pairs are assigned to one element, they are also separated by a space. The syntax for an attribute value pair is to type the name of the attribute immeditately followed by the equals sign and a double quote =" and then typing the desired value, followed by another double quote.

The most essential attribute is href="". This is used in anchor elements (links, represented by the a tag) to dictate where the link leads. Another attribute for anchors is target="", which can be used to tell the browser how to open the link. For example, setting target="_blank" will open the link in a new browser tab.

There are many different attributes. Some can only be used on certain tags, and other can be used on any tag. Attributes will be explained as they are covered, but it is beyond the scope of these tutorials to cover all of them. You are more than welcome to visit w3schools to learn more about the different types of attributes and tags.

Previous Lesson: Block and Inline Elements | Next Tutorial: Hello, world.

The href="" attribute-value pair:
<a href="/tutorials/html/syntax/page3.php">This will link back to this page.</a>
This will link back to this page.