how to put tex or image in middle of page in html

  ROBINSON CRUSO 14:44 06 Jun 2007


im just playing around with html as im new to it and just wondering how do i move an image or tex in the middle of the screen, if anyone can put down the codeing for it as well please

  mco 18:32 06 Jun 2007

I don't know much html but for pictures how about: <img src="name" align=center>

and for a paragraph of text how about, similarly

<p align=center>

Hope that works!

  ROBINSON CRUSO 07:44 07 Jun 2007

cheers mco

tried it but it stays on the left handside

  gibbs1984 08:44 07 Jun 2007

Have a look click here there's a link that says aligning images, should be of some help.

This page also defines all the attributes for the img tag click here.

If you haven't already then have a read through this website, it'll help alot click here.


This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Xiaomi Mi Mix 2 review

What went wrong at the Designs of the Year 2017

iPhone X news: Release date, price, new features & specs

Comment créer, modifier et réinitialiser un compte Apple ?