On this fourth week of June, the minimal HTML document was introduced to us. It includes the meta tag sometimes. This tag provides a description or keyword for the webpage. The elements in a site are head, body, title, p, h1…h6, and br. The HTML is used to display web pages. Thus, the website structure is the framework of it in which the information or content is presented. It is composed of the different sections of a site and navigation with in those sections. Three components are to be considered in making a website. First is the web content which forms the whole page that will be displayed in the site. Second is the presentation program which displays the content. Last is the behavior which is the connection between the server and the user.
In an HTML document, there maybe block elements and inline elements. A block element forms a separate block and positions itself vertically underneath with a new empty line above and under. Its height changes in rapport to its content and can contain other inline and/or block elements. Natural HTML block elements are div, h1…h6, p, ul, ol, dl, table, and blockquote (enclosed with < >). On the other hand, an inline element stays inline with the rest of the content and positions itself horizontally inline with the rest of the content of its parent element. It can only contain other inline elements. span, a, strong, em, img, abbr, and acronym (enclosed with < >) are just some examples of inline elements.
No comments:
Post a Comment