Creating a first .html page:
I suppose I found this assignment fairly easy and straight forward with the instructions given by the instructor. This is my first time creating an .html and I found it as a neat experience though I've only scratched the surface. I played around with the background color a bit and found that the colors don't translate smoothly (i.e. "lavender" appears to be "sea green" and "sea green" appears to be "blue").furthermore colors like "Bob", "Kyle" or "Tom" appear to be "black" while colors like "Thomas" appear to be "blue". I also played with the picture feature and wasn't able to pull the picture if I wasn't connected to the internet which hopefully is a small, obvious, but important fact (if your program has no access, to a feature it will not display that feature). On the other hand, features like background color and the scrolling of text (<marquee>Text</marquee>) still worked which got me wondering where the coding for these features is stored (probably wherever data for my browser is stored but I don't really know). To be honest, I've only been programing is only about a year with Java and Python, these being the only two languages I know so far, and half expected the .html to crash when it wasn't connected to the Internet.
here is my source code:
<html>
<title> Hello world </title>
<head> hi </head>
<body><body bgcolor="Thomas">
<br>
this is simple text
<br>
<marquee> hello world </marquee>
<img src=http://www.mapsofworld.com/world-political-map-2000px.jpg></img>
</body>
</html>
here is the result:
No comments:
Post a Comment