My First Web Page Using HTML
For my first programming assignment in Media and Web Design I had to create a webpage by coding in HTML. I had to include the following:
- a header in which I introduce myself,
- an embedded picture with an alt tag,
- a paragraph introducing myself,
- a link to a favorite website,
- a link to my UARK email address, and
- a change in the text or background color.
The provided resource was a great help. It stepped us through everything we needed to do in this assignment. My biggest obstacle was getting the introductory paragraph to look the way I wanted it to look. I did not want my text extending across the entire page. The training shows us how to use the <pre> element to preserve both spaces and line breaks. I used this to keep my introductory paragraph in line with my picture. I also had trouble with the fonts. I like the Times New Roman font. I found how to set the font for the paragraph and thought I had it. However, I noticed the lines after my paragraph were a different font. I experimented with the coding, but I could not get it to have the font that I wanted and preserve the line breaks. It would not recognize both commands. I'm sure there has to be a way to write the code so that it recognizes more than one formatting command in a paragraph, but I could not find it. I settled for using the default font, so I could keep my line breaks where I wanted them.
I also wanted to change the color of the background to red for my last sentence. To be sure that text would be easily seen, I wanted the text to be white. Again, I could not figure out how to have two changes in format. Instead, I opted to go with changing the text color to red.
The two main difficulties I had were in getting the formatting exactly the way I wanted it to be. In the end, I had to choose one change in format over another and determined that I would learn how to dictate more than one formatting change in the future.
What did I learn? I think the biggest think I learned is that it is relatively easy to create a simple webpage using HTML with minimal knowledge. I was also reminded that I really enjoy coding. It is easy for me to spend way too much time in front of the computer screen trying to figure something out. I am looking forward to me coding assignments!
Comments
Post a Comment