Why would raw text need a structure?


Within the context of this exercise which defines HTML, why would raw text need a structure? Doesn’t it already have a grammatically defined structure?


While raw text might have a grammatically defined structure, this isn’t the type of structure we are referring to here. By carefully marking up the contents of a page, developers can create a hierarchy of information which serves several purposes:

  • it allows users scanning a site to quickly pick out the most important ideas.
  • it helps visually impaired users navigate the content of a page using special software.
  • it helps search engines pick out important keywords that might otherwise get lost in a sea of text.

what does raw text mean ??


This question is basically asking: why do I have to put in any code if I just want it to be what laymen would refer to as “regular” text (so, without anything fancy).

The answer is in two parts saying: 1) you need code for everything and 2) why exactly that is.

Hope that helps!


Lets say that it already has a pre-defined structure. The pre-defined structure is basic and simple. To create something more complicated it is better to add codes to change the original structure of text than to use the original one.


ya that is just confusing


ikr its so confusing


Raw text is the text that you are putting onto the page, which needs a structure because that tells it where to go - headings, indentations, subheadings, etc. are all built by the structure that you put the raw text into.


What is confusing about it? Is it the idea of raw text vs structures or the idea of raw texts at all? Think about it this way, when you read a newspaper is all the text the same size or in the same place? No. The “raw text” or writing is formatted with structures like headings and bylines that are of different sizes and in different places on the page. Just like with a newspaper, text on a website needs to be formatted so that it is readable and makes sense.


ok now it makes sense thank you


Thank you for your help :wink:

The reason this seem confusing to some, is mostly because of the “word processor” expectation.
Meaning, if you been using any Office Suite, like MS Office, Libre Office, then you accustome to just typing content on the page and formatting things, then it look nice. Very easy and convenient.

But here’s the thing many don’t know, even word processors like MS Word have hidden/invisible characters on the page.It’s simply disable by default.
We as humans can see something is bold, a paragraph, etc, but the computer don’t.

It only know and do what we tell it do.
Tags allow the browser engine to recognize what you feeding it, so it knows then what it should do with it, and how to display it. consider it a command you giving the browser. You telling it to abide by certain rules/guidelines, instead of getting random results.

It not easy to grasp the concept at first, but click and drag builders also have to add these markup behind the scenes. programming languages have always been how developers give instructions to computers. we just created better software over time that blurred the line between human readable and machine code.


This is very useful, thank you! I am new to coding, and this just clarify a lots of terms and concepts I had problem understanding.


What does raw text actually mean?

redjester91 explains it perfectly above.
I’m just going to cut and paste their words here.

Some found it confusing so they further explained raw text here.


What has not been mentioned here is that the entire HTML document is raw text. The style sheet is raw text. The script is raw text.


Thanks for providing a very clear explanation!

okay so how does raw text work. and if it doesnt work what do i do

basically the main function of HTML is to alter and display texts.so the structure of the raw text will alter the lay out of the website/text.
1 Like

wow i just saw this and it helped out thanks dude makes sense.

Context like headings and paragraphs and stuff in that nature.