Home
HTML
HTML Attributes
Example 12: HTML Attributes
Run ❯❯
<!DOCTYPE html> <html lang="en-US"> <head> <title>Title attribute</title> </head> <body> <h1>The title Attribute with Single and Double Quotes</h1> <p title="I'm John">Mouse over the text to see the tooltip. Value of the title attribute itself contains single quote.</p> <p title='"John"'>Mouse over the text to see the tooltip. Value of the title attribute itself contains double quote.</p> </body> </html>