Dr. Mark Humphrys

School of Computing. Dublin City University.

Online coding site: Ancient Brain

coders   JavaScript worlds

Search:

Free AI exercises


Lab - Web


  

Where is the server home page?

  



Exercise 1

  1. Make a web page:
    cd
    cd public_html
    gedit index.html &
    
  2. Put some HTML in it.
  3. View it as: https://student.computing.dcu.ie/~username/

  4. Make another page p2.html
  5. Make index.html link to p2.html
  6. Make p2.html link back to index.html
  7. View both pages through the browser.




Exercise 2

  1. Insert an img tag in page to display an image
  2. First include a remote picture e.g. Mona Lisa at Wikimedia Commons
  3. Then copy the image to your own public_html
  4. Then make img point to that.


Look at some tags

Let us construct examples for all the following.

title 
h1, h2, h3 
p, br, hr 
a, img
ol, ul, li

b, i
center 

pre


ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.      New 250 G VPS server.

Note: Links on this site to user-generated content like Wikipedia are highlighted in red as possibly unreliable. My view is that such links are highly useful but flawed.