Documente Academic
Documente Profesional
Documente Cultură
TERMINOLOGY:
WEB PAGE:
When creating a webpage, the basic coding will be needed first and then it is
from here that it can be changed. It will also need to be set out in the
appropriate way using the head, body, background colour, background image
and page title. These can then be altered and separated by divs. It has to be set
up in the correct way making sure that any opening brackets are always closed
off otherwise it won’t be read properly and it won’t work. When it comes to the
HTML coding, the various parts are represented by tags such as ‘H1’ and ‘P’ and
although these are shown in the coding they are not displayed by browsers. The
browsers show the content rather than the tags.
For example:
The blue text in the brackets in the coding is what can be changed. It involves the
background colour, the heading colour, how the heading is aligned, which font family is
used and the size of the font used. Each one can be changed and it alters the design. For
example:
Background Colour:
Heading Colour:
When changing
the heading
colour, you need
to change the text
in between the
brackets in the
‘h1’ section which
includes
everything to do
with the heading.
In the example,
there are only two parts of the heading that can be
changed in the coding and one of those is the heading
colour. To change this, it is similar to the background
colour as you can choose which colour you want it to be
however it has to be one that will be recognised. I
changed it from white to pink. This can either be done with
words, the hex code or the decimal code. You also have
to make sure that the colour is written in the correct
section and that the colons and semi colons are correct too and that the brackets enclose
all of the coding for the heading.
Alignment:
Text alignment
is the
placement of
the text on the
page, for
example
whether it is
central or to the left etc. For the heading alignment, this is
again found in the ‘h1’ part of the coding within the brackets
and can be changed by writing where you want the text to be
aligned. From the example I changed it from ‘centre’ to ‘right’
and then when I ran the example that’s where it moved to. This
is good for covering the whole page sop instead of having all
the text in the middle you could have in along the sides as well.
Font:
For the font there are two types that it can be, it can either
be the generic family such as ‘serif’ or ‘monospace’. These
are a set of fonts that all look similar. It can also be a
specific font family such as ‘ariel’. Using a font family gives
the server a better chance of finding a font that it supports
as it has other ones to fall back on. To do this you have to
start off with the font that you would like but end it with a
font family so that it can try and find something similar. For example: ‘font-family: "Times
New Roman", Times, serif’. The font style can also be changed for example, to italic.
When it comes to changing the size, it can either be changed to absolute size or relative size.
Relative is easier for the user as the size will change with the browser, with absolute, it won’t. If
no font size is specified then 16px will automatically be chosen, it can be changed by
adding to the font details how big or small you want it, on the example I chose 20px.
Within the
coding, images,
videos, tables
and hyperlinks
can be added.
For example, a hyperlink for a button can be added
with different scripting. To add a table, first of all it
has to be set up with the correct tag which looks like
this: <table>. Each part of the table is then set up
with a different tag for example the rows are <tr> and a data cell is <td>. For example:
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>.
For a link to be added it needs to be set up with a <a> tag. A hyperlink can either be a link to
an image, another page or another document. It must be set up with a closing tag at the
end so that it is clear where the link ends. For example: <a href="url">link text</a>.
Images are used to add design and detail to the webpage and are defined with a <img>
tag. The coding for an image looks like this: <img src="pulpitrock.jpg" alt="Mountain View">
The ‘src’ part of the coding is the link to the image and the ‘alt’ attribute is there to describe
what the image looks like incase for some reason the user can’t see the image.
METADATA
Metadata is basically data that gives information about other data. For example, author,
date created, date modified, etc. This makes it easier to find certain documents if there is a
lot of data to be dealing with. Metadata is also used to describe the contents of a web
page in something called ‘webtags’. These basically sum up the whole page into tags and
these are used to decide what websites come up when the user searches for something.
These can be changed by the creator of the website so by adding more keywords into the
metatags make their website much more likely to come up when the user searches for
something. As this became more popular, matatags became less reliable as people were
changing them just to make their website more popular. Metadata can be created
manually, this way makes it much more accurate and personal however it can be created
by automated information processing which shows only the basic information such as file
size.
HTML:
HTML is hypertext mark-up language and XHTML is an extended version of this. XHTML is
basically identical to HTML however it is stricter. It is supported by all of the major browsers the
same as HTML is. The main differences are that HTML is a document file format whereas
XHTML is a markup language. When it comes to the coding for HTML it is much more flexible
whereas XHTML is more restrictive. The elements of HTML are made up of three main
components; element tags, the data within the tags and the graphic content whereas
XHTML documents only have one main element and everything must be contained within
quotation marks. The elements in XHTML always be closed, in lower case and properly
nested. If not then it will not be recognised. An example of it being properly nested is:
<b><i>This text is bold and italic</i></b>.
HTML can be converted to XHTML by adding ‘<!DOCTYPE>’ to the first line of every page,
changing all the element names to lowercase and making sure that all of the empty
elements are closed. An xmlns element must also be added to the html element of every
page.
CSS:
<head>
<style>
body {
background-color: linen;
}
h1 {
color: maroon;
margin-left: 40px;
}
</style>
</head>