Академический Документы
Профессиональный Документы
Культура Документы
Terminology
Authoring
Sites
taeuber-arps-127th-birthday-6314875858976768.3-hp.jpg
To a different IP I could change the main image, but this code is a read
only copy, therefore I would copy it all over into a note pad document,
then change it however it like, then run it on Dreamweaver.
Web browsers work by sending messages/requests to servers and getting
responses. An example of this is a computer requesting a web page from
a server, the server should give access to a read only copy. Some content
like the BBC website requires a certain nationality, this is when GPS
tagging looks at where you are in the world and if you are in the
appropriate/correct countries to view the web page you will be allowed a
read only copy, however if you try and access it from a county that isnt
allowed access to the server doesnt give them a rea only copy, instead it
sends them to a 404 error server not found. One way to get past the
country bans it to pay someone from another country to pirate the data
to you, this means you send out the request from a banned country to the
computer in the correct country which then sends the request to the
server which sends the page back to the second computer which feeds it
back to the initial computer.
Web page
HTML tags
First off, you have to buy the html, this is from a website, once you
bought the html it is yours for a certain amount of time for example
html for 2 years costs x and for 5 years it costs x. You also have
to buy space on a server to upload content to your website or it will be
a blank html, unless you have a decent/good computer, then you can
use it to upload content to the website.
You can buy both new/from scratch websites that you build
yourself/hire people to build, or you buy a readymade website/ one that
already exists.
(already
existing web
pages)
there are
thousands
of websites
that sell
blank
website
htmls.
Web page
Web page: text; fonts; colour; images; tables; hyperlinks; language and
terminology; metadata all have a similarity; they all are
controlled/changed through the main css page. The main .css page
controls what the elements on the web page look like, for example, a
paragraph in a div can be changed simply by writing:
(I made the text above an image as there was a mistake every time I
wrote out code examples because the full stop isnt in the right place, but
this is the correct place for coding.)
(Im going to have to use an image of the text again as I will be using an
example code to show what I am talking about.)
(Im going to have to make this into an image as well so that there arent
any errors showing on the document.)
I am not sure about languages, but I think there is a css code that checks
what country the website is being viewed from and automatically changes
the website from one language to the main language of the country it is
being viewed in. However, there are setting on search engines such as
google in settings that change the language of the page.
From here you can change the settings to the correct language and it
should change the websites language also.
HTML
The essential tags are <html> </html>, <body> </body> and <head>
</head>, these are the tags that are needed to build a website.
(Content in red bubbles is just the content that isnt essential, it just
shows that the code is working on the right hand side.)
The next type of tags, they can be used but arent essential are
text/paragraph elements, these are started with ether <p> or <br> and
are both ended with </p>.
All of the
different
headings
non
essential
code.
The hypertext mark-up language is the coding in HTMLs, all codes on html
start with <HTML>
<Body>
</Body>
</HTML>
Meaning all the code that makes up the different elements is inside the
html tags. HTML tags can also be formatted as:
<html>
<head>
<title> TITLE GOES HERE</head>
</head>
<body>
Content of web page
</body>
</html>
Most of the elements in a website are normally wrapped in divs (<div
class> </div>)
This is so that in the main css, typing the class name of the div and an
element within that div will allow you to change and move that element
like so:
(example <div class div>)
.div {
Color: (colour here);
Font_weight: (font weight here (e.g. bold));
Font_size: (in px pixels);
Etc;
}
The alignment of elements can also be altered with the main css through
borders and margins, if set to auto the margin on the chosen side will
expand as much as possible, example below:
.div p {
Border-right:5px;
Border-left:5px;
Border-top:5px;
Border-bottom: auto;
}
This would set a small margin and push the element to the top of the page
because the bottom border has expanded as much as it can, this would
most likely be a conventional masthead element or a main central image.
Creating lists in html is fairly easy, to have more control over them add a
div and then you will be able to create a few rules for it in the main css
page.
The list elements are formed like this:
<div class list>
<ul>
<li> </li>
<li> </li>
<li> </li>
</ul>
</div>
The code above would make a simple list, I added a div because in the
main css you can set a list to interactive buttons, you can also paste in IP
addresses so that they actually hyperlink to different places. Currently,
without and new/altered main css rules the list would auto float right and
as far up as it can and would look like this:
In html you can also be used to make tables, this is with tags, <TABLE>
<TR> <TD>, </TD> </TR> and </TABLE>. This would all be in a div, the
outer would be <div> and </div>, inside those would be <TABLE> and
</TABLE>, inside that would be <TR> and </TR> and inside that would
be a <TD> </TD> element. This starts off with the table element as that
identifies what the whole element is, inside that is the smaller
elements/columns of the table.
Images of a web page use another type of code, they use <a href=(IP
here> </a>
heres an example I made on
w3school.com
(http://www.w3schools.com/ht
ml/tryit.asp?
filename=tryhtml_default).
Page backgrounds can also
be set with the element
<body bgcolor=(colour
here)> - include an image. Internet links, like images need an IP to work,
the image link is slightly different to the hyperlink tag, the hyperlink tag
looks like this:
<a href=(web page IP)> </a>, the only difference between this tag and
a image tag is the IP is a complete web IP address here where as the
image tag has an image IP.
The code example above:
<div class=text>
<h1>Text example here</h1>
</div>
(coding for box below) text only css rules
.text h1 {
Color: #000000;
Text-weight: bold;
Font-family; Adobe Gothic Std B;
}
Each line changes the element in a certain way, for example color: #ffffff;
is the hexadecimal value of black which changes the text colour to black,
the color: ; would be able to change the text to any colour if the
hexadecimal value was changed.
(List of hexadecimal
values)
Meta tags
Meta tags define descriptions and key words of the page with
code like:
(Description)
<meta name=description content=example of content text here, CSS,
XML, and XHML/>
(Keywords)
<meta name=Keywords content=HTML, DHML, XML, XHTML,
JavaScript/>
Meta tags can also be used for background colours, font size and colour
with a number of different code strings like:
By changing the colour red you can change the background to any colour,
you can also use hexadecimal numbers to change the colour: