HTML Design and Process: Lesson 1: The Theory of HTML What Is HTML?
HTML Design and Process: Lesson 1: The Theory of HTML What Is HTML?
Types of Tags
<p> This is a paragraph. </p>
The <p> is the opening tag that indicates that the browser should display a paragraph. While on the other hand, a closing tag (</p>) looks similar except that it is initiated by a forward slash. Opening tags consist of a sequence of characters that indicate the meaning of the tag, of course surrounded by angle brackets. (<) (>) A closing tag indicates the end of the meaning of the tag. The pair of opening and closing tags are used to surround text that should be set aside as a separate paragraph.
A web browser is created to read HTML documents and display them as web pages. The browser doesnt display the HTML tags, but uses the tags to interpret the content of the page.
Editing HTML
In editing HTML, a program like Notepad is used. It is also believed to be the best editor to learn HTML. However, if youre a professional web developer, it is advised to use programs like FrontPage or Dreamweaver instead of settling for Notepad.
Concepts of Web
There are a few words interlinked with web that sometimes get confusing for us. Let us see the differences below. The internet is the network of the several different computers which are connected through the linkage of accessories like copper wires, fiber optics and wireless connections. It is also known as the network of networks. While the World Wide Web (WWW) consists of the interlinked connections of information and documents which are taken as the resource by the general public. This is how millions of pages over the world display their document over the Internet. Most of these documents are using special type of protocol like the HTTP or the Hyper Text Transfer Protocol.
First, a web page is requested when a URL is typed into the address bar of a users browser. This request is sent to the server where the information is held. Then the server finds the page that the user has requested, and responds by sending the page back to the client. This is sometimes called the request/response model.
Browsers
A web browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. An information resource in identified by a Uniform Resource Identifier (URI) and may be a web page, image, video, or other piece of information. Examples are Internet Explorer, Opera, Google Chrome and Safari.
Chapter 3
Advanced Markup
Traditional Page Layout Tables and Layout
Tables are used to display data on web sites. But there is an alternative use for them. Tables make it possible to divide text into columns, and to separate blocks of text and graphics into either columns of a specified pixel-width or a percentage width relative to the other columns in the table. They are also used to lay out sections of text and graphics in imitation of how this is done in printed media.
construct a layout using a table. The rowspan and colspan attribute of the <td> element direct cells to span more than one row or column.
<html> <title> Complex Table </title> <table width=400 border=1> <tr> <td colspan=4> This cell has a colspan of 4 </td> </tr> <tr> <td rowspan=3> This cell has a rowspan of 3 </td> <td> </td> <td> </td> <td> </td> <td> </td>
</tr> <tr> <td> </td> <td> </td> <td> </td> </tr>