Web Authoring
Web Authoring
• Content Layer
• Presentation Layer
• Behavior Layer
Content Layer – this is where all data Pages, frames, texts, images, links and videos are placed. This is
also known as Structure Layer. It is created using HTML. It is used to enter the content and create the
structure of a web page
Presentation Layer – This is where designs, color themes, fonts are put in. Presentation layer is used to
display and format elements within a web page
Behavior Layer – This is where all functioning of a web page take place. Behavior layer is for a scripting
language to control elements within a web page
This will set the author of the page as the name to be Graham Brown.
Title
HTML tags
<title>--</title>
Title tag is used to define the title of the web page which appears on the tab of the web.
Eg. <title>Youtube</title>
CSS file Attaching
Unlike Link is a self-closing tag which does not require close tag like others. </link> is not
needed.
Table Structures
Example.
<table border=”1”>
<tr> Border attribute is
<td>A</td> used to display borders.
<td>B</td>
</tr>
<td> tag represents columns in the
<tr> table which is called table data.
<td>C</td>
<td>D</td>
</tr> <tr> tag represents rows in the table
which is called table rows.
</table>
So without setting any width or height values, this set of code will look like this in
web.
A B
C D
Anchor Links
It will create a link and clicking will reach to the targeted link.
It will create email link. Clicking this will send mail to the target email with a subject written and
body written.
It will create a bookmark. Clicking this will go to the page where this id is set.
Inserting Images
<img src=”(file path)” alt=”(name)”>
Inserting Videos
<video controls >
Error Messages!
<source src="(file_path)" type=”(vid_type)”>
</video>
Lists
Ordered List
<ol>
<li>Apple</li>
<li>Orange</li>
<li>Pearl</li>
</ol>
Unordered List
<ul>
<li>Apple</li>
<li>Orange</li>
<li>Pearl</li>
</ul>
Paragraph Styles
<p>---</p>
<h2>Hello World!</h2>
<h3>Hello World!</h3>
<h4>Hello World!</h4>
<h5>Hello World!</h5>
<h6>Hello World!</h6>