HTML Tutorial: Adding & Styling Images & Text



Watch more HTML Tutorials videos: http://www.howcast.com/videos/476886-HTML-Tutorial-Adding-and-Styling-Images-and-Text

Hi, I am Daniel Davis. I am a certified computer expert and tech guru. Along with having one of the top tech channels on youtube, my work has also been featured in textbooks, software guides, and hundreds of popular tech blogs. And today I am going to be talking to you about HTML. HTML is the coding language that webpages are written in. To create a basic webpage, all you need is a text editor, such as Notepad and Windows, or Text Edit in Mac, and a web browser. HTML is characterized by using markup tags to classify and group different parts of a webpage. Tags are denoted by angled brackets that enclose the tag name, and they generally come in pairs, one before the object and one after. The closing tag having a forward slash. A basic webpage has 2 sections, a head and a body. The body is where the visible content of a webpage goes. To add text, you wanna use the p tag to show that it’s a paragraph. If it’s header tags, you can use the preset header tags. These go from H1 to H6. Each one being a different text size. Other format tags include B for bold, I for italicized, and U for underline. To preview it, save it as index.html using the file type of all files in Notepad or webpage in Text Edit, and open it up in a browser. Another way to style your tags is through text is through tag attributes. An attribute adjusts the parameters of certain tags. For instance, if I wanted to align the text to the center of the page, I can add the align attribute to the P tag and set it equal to center in quotes. If I add a font tag around my text, I can then add font attributes such as size, face, and color. Using tag attributes, you can also add pictures to your webpage. But before we can do that, you’ll need to find a picture that you wanna use and place it in the same location that you saved your webpage to. Then add an image tag where you want the image to appear in the body of your page, and add the SRC attribute and set it equal to the name of the picture. To align it to center, you’ll need to add some center tags around it. Now save it and refresh your browser to preview the page.

source

Reply


Build A Site Info