![]() |
![]() |
|||||||||||||||||||
HTML (hypertext markup language) is a set of instructions that explain the structure of your content to a web browser. HTML files are just text files that rely on the web browser to create the "look" of the content, whether it be styling text, displaying background colors, or importing images. See our list of HTML learning resources below.
To import an image into an HTML page, the tag used is <img> (highlighted in green in the example to the right). Attributes for the <img> tag include src, width, and height, in addition to many more. The attributes are highlighted in yellow in the example to the right. In this case, the attributes are specifying the JPEG file to import (dining_room.jpg) and the dimensions of that JPEG file (140x100). Most of your HTML will focus on text. There are some basic tags available for basic text formatting settings like bold <b>, italic <i>, emphasis <em>, etc. In addition to these "begin" tags, there are also "end" tags. They surround the text you want to format. The "end" tag for <em> is </em>. So any text inside the beginning and ending tags will be affected when the browser renders your page. You can acheive even greater control by redefining tags entirely using cascading style sheets (CSS).
HTML Learning Resources
|
||||||||||||||||||||
![]() |
![]() |