Basics: Get Started with HTML
HTML means Hypertext Markup Language. It is used to create a website.
What you need to start writing HTML.
- Browser – e.g. Chrome, Firefox, Opera
- Text Editor – e.g. Notepad++, Dreamweaver
Terms that you’ll hear and use often:
This is a text exampleElement has a start tag , end tag , and content in between This is a text example. Notice that the end tag has a forward slash before the tag name. Sometimes start and close tags are referred to as opening and closing tags.
There are HTML tags that do not require an end/closing tag.
– creates a break line.
- – defines an image.
– creates a horizontal line.
Attribute adds definition to our element. Attributes are present after the tag name. E.g.
In the examples above, we can identify the ff. attributes.
- style=”color: red;”
These attributes consist of the ff. Attribute name – class, id and style Equal sign – = Value enclosed in quotation marks – “header”, “header”, “color: red;”