View difference between Paste ID: FqGUh7zp and PimfZUis
SHOW: | | - or go back to the newest paste.
1-
///underconstruction
1+
///underconstruction *claminig possession, forgot to login*
2
3
you should copy paste this into microsoft office, and add double spaces to it to make easier to read.
4
5
λ Always use unicode.      
6
7
      I can only half garuntee that you will learn something from 
8
this, I reackon the difference would be your commitment and your 
9
underlion filosophies. My spelling and grammar is not the best, and 
10
I'm not a normal person, but I know what I'm talking about. so here 
11
goes, you will get no where without taking notes, and showing and 
12
communicating what you learned with others.
13
14
-~-~-HTML notes 1, thoughts on learning. By Jeffrey Eric Gutierrez aka MoonSideMKDS/mƟth∈RNaTi0n!~-~-~
15
16
               -~-~-Audience EVERYONE expierence required NONE.-~-~-~-~-~-~
17
18
      before learning anything, remember to put time aside for it, to completely focus, simplicity, deep focus on fewer subjects, and understanding why you are doing them, "i.e. I want to design a webpage"; reinforce your understanding even greater with goals; labeled short-term, mid-term, long-term goals.
19
20
i.e.
21
22
shorterm : I wanna learn basic html.
23
mid-term : I wanna embed videos, create tables and stylesheets and have multiple web pages for my website/domain.  
24
Long-Term: I wanna show this website to to my peers to get feedback Peer-review, as well as to spread any goodness that I can, etc. 
25
26
YYY - if you see these 3 Y's, it's something you can skip, or 
27
28
something you should really read your second time around. The way I teach doesn't just teach you the subject, I will also attempt to show you the way of learning within itself. 
29
30
Starting off with a general "tip"
31
32
Tip: It's important to have two or more ways of referring to something, for the sake of example, say that y is very important in html. we will refer to y by what it's normally called + another name 
33
that is suitable for it, think of header tags for example, in html, another name is headline. A step further will be to add a 3rd, say it outloud, remember what it looks like, etc, take it all in. Don't be 
34
afraid to take extra steps foward and never ever have a doubt with yourself. Doing is understanding. 
35
36
      These are notes I'm taking for self learning, I will post the 
37
38
resources I used to learn it, and attempt to write it in a way that communicates the main point. resources I used to take notes on this pastebin.
39
40
http://w3fools.com/
41
http://code.google.com/edu/submissions/html-css-javascript/
42
http://youtu.be/KIYcgPZqlTk  
43
44
----------------------------------------------------------------------
45
------------------------
46
47
      HTML is a markup language or formatting language that defines 
48
49
the meaning, content and structure of a webpage, it's not a 
50
51
programming language.
52
53
   What your silly ass ought'a be learning is not a bunch of fucking 
54
55
tags and memorizing a clutter-mind fuck number of tags, learn by 
56
57
methodology, practice, and know WHY and WHAT you will even be doing 
58
59
with this knowledge, you want to learn HTML because you want to design 
60
61
a webpage with some flowers on that sun'bitch is a perfect EXAMPLE. I 
62
63
wanna learn all the tags so I can be HERP DERP EXPERT is not the way, 
64
65
close this pastebin if you are the latter. learn this MINDSET, it's 
66
67
IMPORTANT.
68
69
                                 Anatomy of html tag
70
71
-it is made up of elements, they have attributes, and they are nested in heirarchy. 
72
-An element is the basic unit of html.
73
-opening tag, with attributes, content and closing tag, not all have closing tags.
74
75
"nested" in this sense; you can nest these elements to form a tree or a hierarchy.
76
77
exempli gratia; paragraph element; The first example seperated by ---'s shows a sort of "blank" element with no real known values, the second shows how the "paragraph" element would fit in-stead of the 
78
79
blank element.
80
example 1: 
81
---------------------------
82
<tagname attribute="value"> 
83
content
84
</tagname> 
85
---------------------------
86
example 2:
87
---------------------------
88
<p id="id" class="classname">        ←p with opening tag.
89
Lorem ipsum dolorem...
90
</p>                                 ←p with closing tag.
91
---------------------------
92
93
p = paragraph element, and it goes in these → < > 
94
/  ←put this son of a bitch in there if it's the closing tag. 
95
96
i.e. (in order)
97
98
p
99
< >
100
<p>
101
</p>
102
103
      id and class are "attributes", you must differentiate elements, and 
104
attributes, kay?  they are to differentiate elements, so class and id 
105
are not elements, rather they are attributes that are used to 
106
manipulate elements using css and javascript, which I will also learn 
107
and then teach you what I learned, etc.  
108
109
Definition of data: Think of an item in a store, and the number they have in stock. Think of several items,
110
111
item 1, item 2, item 3. item 1 has 3 of the blue in stock, and 1 of of the red. item 2 is sold out. 
112
item 3 is pending an order. 
113
114
      This is more or less the data on these item sets, for the sake 
115
of conceptual understanding, leaning more towards computer science a 
116
Definition of data would be more strict and vigorious as with any 
117
informal language.  
118
      They would be the abstractions, behind the letters and the 
119
numbers. think of the placement holder, better yet, compare it to the 
120
definition of content. There are data types, i.e. integer and boolean 
121
datatypes, hexadecimal datatypes. strings. they're all values.
122
definition of content: What goes on the page, eg pictures, 
123
124
PROTIP: MAKE IT ORIGINAL CONTENT, FAGGOT.
125
126
      As I was saying, here is a compare contrast, this is by no means a professional definition of either word, but rather a way to conceptulize it, as it is important, if you want the strict, rigerous 
127
definition, marriem webster dictionary, stackoverfloow, google, etc. THIS IS VERY WATER DOWNED.
128
129
Content. 
130
1.) Apple. 2.) orange. 
131
Data.
132
tttsappletsnttsorange
133
134
where t is token, s is space, orange and apple remain unchanged for sake of example. This is water-downed definition. remember this, just there to remind you that behind what you put on your webpage there are things known as nodes, data type and structure, semantics, etc. Protip: Simplicity, meaningful focus, meaning and purpose, have these things you can learn anything.
135
136
so we write our HTML first, for any document.
137
138
now, how to use HTML. The purpose? to do it in the best way possible, anyone can write html, fewer can write good html, even fewer? great html. The best HTML writer? Could be you! We let our data, or content inform the markup we use. the best approach - html first focus only on the markup reflects meaning of underlying content, once you move onto css, then you focus on it's presentation.
139
140
HTML → Semantics/meaning (not the looks)
141
CSS → Presentation (the looks)
142
143
                                         Conveying the meaning.
144
145
                                   headlines/headers, from h1, to h6. 
146
147
      Think of it like a figure 8, the way artist draw human bodies. and 
148
always keep in mind the order they come in is important, these are not to display a font size, thats a presentation purpose, that is CSS, this is HTML, the structure, meaning and SEMANTICS. 
149
150
good - h1 → h2 → h3 → h4 → h5 → h6 → 
151
bad  x h2 ← h1 → h6 → l0letc. 
152
153
do it in order. like the author in the video, "think of it as a term paper for high school". Have sections before sub-sections. Don't use these to declare a font size, that's what css is for. Here are more elements, unordered list, ordered list, and anchor/link 
154
155
element. 
156
157
<ul>
158
    <li>Item 1</li>
159
    ....
160
    <li>Item 2</li>
161
</ul> 
162
163
      This is a list element, "ul" element contains "li", li is used when few amounts of items will be presented, i.e. a list of all the girlfriends you ever had. ;D  or better yet, since we disregard order, 
164
we will put the girlfriends I had, if we wanted to list the girlfriends of Jeff we would have no choice to use UL element because the order he dated tem doesn't exists, because he cheated on them and went with multiple partners at the same time, an act of adultery Jeff formely and informely regrets both rationally and emotionally. ):< number of items is not significant. All the items are of equal important, therefor, the order is not important. 
165
166
      An example of an ordered list where order is significant, simple difference (ul, ol); I.e. a list of the greatest people on xat. for example.
167
168
<ol> 
169
   <li>jeff</li>
170
   <li>jeff</li>
171
   <li>jeff</li>
172
   ...
173
</ol>  
174
175
176
      Concept of a link element or anchor element is extremely important, 
177
HTTP and links make the web go, but the concept of an anchor is so 
178
crucial, that I can think of no better way to express it than that of 
179
the power bracelet, your mind is crippled if you do not understand 
180
this very fundemental concept; it relates to so many things in our 
181
life, not just HTML. 
182
      We put beeds on a string to create a power bracelet, each beed has a 
183
special meaning. say you woke up the next day after you created it, how would you remember the order, or the placement of each beed? you wouldn't, you would need to apply an anchor beed to it. So the order 
184
is remembered by the MIND. 
185
186
187
<a  ←anchor
188
<href ←attribute to be added.
189
...
190
put together. 
191
...
192
<a href="url">
193
194
Where url stands for "uniform resource locator". 
195
196
i.e,
197
198
<a href="http://www.aliasnation.org/">
199
200
The browser will display a link, upon clicking it will take you to said webpage.
201
202
            VULNERABILTIY ANALYSIS: 
203
204
understand that the act of clicking, causes your browser to navigate 
205
to another page, think of what the term url stands for, now think of 
206
how that can be manipulated against you, the number of ways is 
207
countless, you could have something on your computer that redirects 
208
you to an attack page where corrupt files are attempted to be 
209
downloaded on your comp, or you could be redirected to a false 
210
"customer information page" as in philse attacks, or the information 
211
you send to the server/website is logged via the device your using, 
212
you click, and if the person who created the url is good enough he 
213
could derive your ip, computer name, and many other vulnerabilities, 
214
understand that importance of mouse clicks is so important that it 
215
generates, influences and circulates $$$CASH MONEY$$$. Do not be 
216
stupid, or better yet, do not be a person like me, who does not care 
217
about security and puts himself in harms way. That's how you get hurt. 
218
219
220
example.
221
222
<a href="ChocoSannloveeachotherinthebutt.com"></a>
223
224
always eyeball what you write, and assume the mind-stance that others 
225
are watching you, your friends, girlfriend, peers, rivals, enemies, 
226
teachers, and ask yourself what they would say if they looked at your 
227
work. 
228
229
                       Presentation and Content, also, more tags.
230
231
232
<em>Emphasis</em>
233
<i>Italic</i>
234
<b>bold</b>
235
<strong>strong</strong>
236
237
difference between em and strong vs b and i is about the relationship 
238
between presentation and content; one of the relationships that was 
239
closer inspected upon paradigm shift. i can only show emphasis, the em 
240
tag however, has properties about it that correspond to an audio 
241
aspect/component.
242
243
protip: nothing is learned for good, lots of things change, there 
244
meanings become absolete, it is important to evolve and move with the 
245
times and to be able to change and adapt at a whim. One way to think 
246
of this is to think of a pianist, a good pianist can play on any 
247
piano/keyboard and make it sound brilliant, a wrong-learner is so use 
248
to the curvurture of the piano itself, he is so use to sitting in the 
249
same chair, performing the same shoulder thrust for a forte piano-
250
stab, that when you get this poor bastard in front of a concert where 
251
a new piano is presented to him, he doesn't know what the fuck he's 
252
doing and he sounds horrid. It's the difference between vladimir 
253
horowitz and your average youtube pianist, and the understanding that 
254
at the top, there is no greatest, there is only a deligant variance. 
255
truth be told, this is a simple belief, and I am simply ascribing to it. 
256
257
browsers render them the same visually.
258
259
b and i refer to the qualia. "your color is red" 
260
em and strong refer to the quantitative qualia. 
261
262
Reason they exists : seperating content from presentation. (: i.e. screen readers see em tags as a rise in pitch, audio vs visual. Browsers interpret html and display it, they each do this with differences, 
263
264
Thanks to google web developers, 
265
266
/webdev-course/utilities/tags-meaning.html<this link probably only works in chrome, i'd attatch an /search?=btnI=1 and  http://www.google.com to it just incase. http://www.google.com/search?=btnI=1/webdev-course/utilities/tags-meaning.html
267
268
The anatomy and HTTP are seperate, but defanantly useful basis of knowledge for anyone interested in the internet, web design and practice.
269
270
271
The table element, contains tr,th,td elements. A table is useful for many things, an example of a good table, i.e. tabular data; for example, my mario kart 64 timesheet which can be found here that shows you I'm the ill-refuted united states champion since december 2004, I feel that it is important to point out that tables are often referred to in themselves, that is, they are rarely spoken as being elements, even though they are, in spoken it is, "this is a table" as opposed to, "this is a table element"; which is unusual to say the least. 
272
273
tr = rows ←element
274
td= columns  ←element
275
276
tables are often misused, 
277
278
http://www.mariokart64.com/mk64/timesheet.cgi?JeffreyGutierrez
279
280
use your web developer tools to "inspect the webpage, to see how the elements align and such, here is a foto of me doing it.
281
282
http://i1291.photobucket.com/albums/b557/MoonSideMKDS/tabledemonstration.png
283
284
an example of a bad table is using it as the structure of your entire website, the layout of your webpage is about how it is presented and viewed, ring any bells? CSS. yes. Here is the code for a bad table, don't distribute.
285
286
///from anonymous google developer.
287
288
<table>
289
  <tr>
290
   <td>Left Nav</td>
291
   <td>Main Content</td>
292
   <td>Side Bar</td>
293
  </tr>
294
</table> 
295
296
there using a table to accomplish a 3 coloumn layout, but layout is a property of how content is presented. it has no place in html, this is a job for  css. 
297
298
299
300
if you wanted to use a table for that purpose, that is a job for css. HTML isn't about how it is presented, html is about the meaning/semantical structure.There are far more HTML elements. Google keywords = "HTML reference".Also this, the ones in blue are bad examples of tags in html, the yellow are good. It's all about the relationship between qualia and quantity, presentation and meaning, remember, html = semenatics/meaning/structure and content css = visuals/presentation. know the difference, tell the difference and have good judgement when creating and developing the web, it's no different than being a good 
301
302
driver, (no I can't drive worth shit, only on video games l0l I can derive however, if that makes up for it. ;D) 
303
304
line breaks and div elements.
305
br              <div>
306
307
br drops to the next line, *try it and get it*; can be used to convey meaning or presentation, your awareness of this fact will become clear upon expierence and practice and doing. 
308
309
if you are using polynomial amounts of line breaks to create additional space between two parts of content, then you are using it wrongly, 
310
311
you should use <div> or <p> for polynomial amoutns of line breaks or to create different sectors. Then use css to control the space and time between them. 
312
313
Finally...
314
315
THere are different types of html. 
316
317
HTML 5, HTML 4, etc.
318
319
you use doctype to declare which version or type of html you are using,  you can use it for a validator to see if it fallows the rules,
320
321
http://www.w3.org/
322
323
the minimal (HTML5) doctype.
324
325
<!DOCTYPE html>  
326
327
And to end, there will be no "blank html template" posted here, for that is a bad approach, I promise. <3
328
329
Also, learning how to use google is also important, you can find searching guides using google directly at google (duh!) or here, where there are also many other amazing resources; hands down, one of the 
330
best resources on the net, and yes it comes from 4chan, and yes I utterly adore and support 4chan in all ways for it is dear to me and treasured my emotional state when I was but a basement dwelling virgin 
331
nerd faggot, now I am just a basement dwelling non-virgin nerd faggot yes, a digital human yes, yes. 
332
333
https://sites.google.com/site/scienceandmathguide/
334
335
goto → google → search "4chan" → click on 4chan → go to /sci/ board on 
336
337
top of the page where all the boards are listed. → scroll down a couple units and it should present itself as the first stickied post, a link to an absolutely brilliant collobration of information. 
338
339
      My advice: 
340
341
      Do not attempt to memorize rote, or "tag names" values, or be 
342
343
someone who learns by memorizing a lot, remember, that doing is 
344
345
understanding, the creator of the video places amazing emphasis on 
346
347
this notion that originated from well known philospopher Aristotle, 
348
349
keep it simple, know what you want to do or construct and keep it 
350
351
close to heart, and always remain posistive about it.
352
353
      headsup : learn what unicode is, all websites that have a search 
354
355
bar on the right of the page should be reported to the cyber police 
356
357
and cyber fbi. 
358
359
practicing and doing excersizes might be helpful but nothing is a 
360
361
substitute for the actual doing, create a website, with an original 
362
363
idea behind it. Make it your job to do this, and you won't need 
364
365
practice because your life would there-in depend on it. making the 
366
367
learning process auto-suggestive.
368
369
In the next lessons, I will begin working on my webpage; 
370
371
aliasnation.org, adding content and purpose and finalizing it while 
372
373
corresponding to these learning sessions. I will spread the good word, 
374
375
and create something fine from it. In time, all wounds will heal.λ
376
377
God Bless,
378
379
-Jeff.