First Example Through Marquee:-

I am the first example

Second Example Through Animation:-

I am the second example