This page is part of the CSS3.info CSS selectors test. See more info on CSS3 selectors.
div[align] {
}
<div align='left'></div>
The CSS selector should match the HTML fragment because the align attribute is present and contains a value
div[align] {
}
<div align=''></div>
The CSS selector should match the HTML fragment because the align attribute is present and is empty
div[align] {
}
<div align></div>
The CSS selector should match the HTML fragment because the align attribute is present
div[align] {
}
<div ALIGN='left'></div>
The CSS selector should match the HTML fragment because attributes names are case insensitive in HTML documents
div[align] {
}
<div alignment='left'></div>
The CSS selector should not match the HTML fragment because it does not have the correct attribute
div[align] {
}
<div verticalalign='left'></div>
The CSS selector should not match the HTML fragment because it does not have the correct attribute
div[align] {
}
<div></div>
The CSS selector should not match the HTML fragment because it does not have the correct attribute