SpyLoaded Forum






News



Post reply

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Verification:
"5 eggs" Multiply By "4 eggs" Is what ?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Miss Ifeoluwa
« on: August 13, 2018, 03:37:29 PM »



WHAT IS HTML
*HTML (Hyper Text Mark Up Language)* is a language used to create a documents on web. HTML is meant for meaning and structure of the web page’s content.

*HTML* Contains Tags That organize and structure text, include image, creating forms & tables, and link to other documents or web page all across the internent.

HTML Basic Syntax

The basic syntax HTML is made up of Tags, Attribute and Elements.

HTML TAGs
HTML tags are tags names surrounded by angle brackets, like : <html>
Html tags usually come in pairs, like <body> </body>

The first tag is called the opening tag and the Second tag is called the closing tags.

The opening *Tag* looks like The <body>

while The closing *Tag* looks like The *</body>*

*Exampls*
<article> Content Here </article>

*Attributes*
Attributes provides extra information about an Element and are always specified in the opening tag,

*Example*
<article  attribute =”value”>   </article>
Attribute Value

Attribute value should be enclosed within quotation marks. You may come across something likes

<article  attribute =value>   </article>
But using quotation is more common , cleaner and best practice.

Note We av many HTML Tags it can be paragraph <p> e.t.c

HTML Element
An element is a tag and the content it wraps around, for Example

<p> content</p>
<P>I went to school yesterday </P>

HTML Parent / Child Structure
It’s also called parent / child relationships, where the containing elements is referred to as the parent of the elemnts contained within it .

*Explanation of the Example*
The *body* is the parent of the headings ( *h1* , *h2* ) and the paragraph tag ( *p* ), and the second paragraph of the *em* and *strong* elements.
The *body* is the ancestor of these letter elements, rather than their parent. The headings and paragraph are siblings, and the *em* and *strong* elements within one *paragraph* tag are siblings.


Basic File  Folder Structure of a Website
It important to keep the contents of your website organized.
Folder should have simple one word name. Multi-word name can be faked using the underscore   “_”  Character, 

*Exampple*
product_images
course_title

Close
SimplePortal 2.3.6 © 2008-2014, SimplePortal