Whats the best way to display dynamic content?

is there a way to have an external file loaded that contains html or css?