- Defines a link to an external document
- Does not have a closing tag, therefore requires a closing forward slash
- Generally used to link to style sheets
The rel attribute is used to define the relationship between the document and the target URL, as defined in the href attribute:
<!DOCTYPE html> <html> <head> <title>My Document Title</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> ... content goes here ... </body> </html>