|
Line Breaks : -
The <br> tag is used when you want to break a line, but
don't want to start a new paragraph. The <br> tag forces a line
break wherever you place it.
Ex- <p>This <br> is a para<br>graph with line breaks</p>
Comments in HTML
The comment tag is used to insert a comment in the HTML source
code. A comment will be ignored by the browser. You can use
comments to explain your code, which can help you when you edit
the source code at a later date.
Basic HTML Tags:
| Tag |
Description |
| <html> |
Defines an HTML document |
| <body> |
Defines the document's body |
| <h1> to <h6> |
Defines header 1 to header 6 |
| <p> |
Defines a paragraph |
| <br> |
Inserts a single line break |
| <hr> |
Defines a horizontal rule |
| <!--> |
Defines a comment |
|
|
HTML Tag Attributes
HTML tags can have attributes. Attributes provide additional
information to an HTML element.
Attributes always come in name/value pairs like this:
name="value".
Attributes are always specified in the start tag of an HTML
element.
Are you happy with this course? I know theory learning will take
more time. It will make you bored. What I suggest you to go with
practical knowledge after you get free hands on html with
practice. Automatically you have theory knowledge. So If you
want practical knowledge contact me. Otherwise you want know to
learn theory first click this next..
Contact
Me click here
Or
Next->
for Theory
Free Html Editor Click
here
|