&l"/> &l">
Home > Article > Web Front-end > Set the relationship between the current document and the linked document in HTML
Use the rel attribute to view the relationship between the current document and the linked document. It works with , , HTML elements.
You can try running the following code to implement the rel attribute. This example sets the CSS file -
<!DOCTYPE html> <html> <head> <link rel = "stylesheet" href = "style.css"> </head> <body> <h1>Heading</h1> <p>This is demo content.</p> </body> </html>
The above is the detailed content of Set the relationship between the current document and the linked document in HTML. For more information, please follow other related articles on the PHP Chinese website!