Selecting by ...

Tag:
document.tags.P.
fontSize="16pt";


Class:
document.classes.redbold.
all.color="red";


ID:
document.ids.a1.color="blue"