the basics of html
CRASH COURSE TUTORIALS — learn how to code!layouts are coded using HTML, which stands for hyper text markup language. it's what makes up basically everything on the internet. html code dictates the structure of a webpage or website, such as AFF! layout makers create layouts through a source code.
first, let's learn how to read html! below is a simple paragraph.
This is a nice paragraph. This text is bold. This text is italicized. This text is underlined. This is the end of the paragraph.
now, here is the source code of the paragraph.
< p >This is a nice paragraph. < strong >This text is bold.< /strong > < em >This text is italicized.< /em > < u >This text is underlined.< /u > This is the end of the paragraph.< /p >
the highlighted text are called tags. each tag is enclosed within angle brackets < >. IMPORTANT NOTE: you MUST remove the spaces between the tag and the brackets, or your code will not work. the above spaces are for the sake of this tutorial. you close tags by placing a slash / after the first bracket.
most tags are shortened to make it easier for coders. the p (paragraph) tag dictates what is within the paragraph. the strong tag dictates what is bold. the em (emphasis) tag dictates what is italicized. the u (underline) tag dictates what is underlined.
in our next lesson, we'll be learning how to format text even further and make your text more attractive.
thanks for checking out crash course tutorials! upvote and subscribe for more updates.
Comments