[jQuery] $('').attr('', '') - why no direct method to get/set html attributes

[jQuery] $('').attr('', '') - why no direct method to get/set html attributes

> on a fair few occasions I've found that some attributes only