Completions for HTML attribute values, HTML entities, CSS properties and PHP

Completions for:
HTML attribute values
HTML entities
CSS properties
PHP functions and global vars
Should we check document exists or define all attributes instead?