1st lesson of HTML.(please help me to grow by following and upvoting)# class 1 htmlsteemCreated with Sketch.

in #html7 years ago

HTML which stands for Hyper Text Markup Language .
LETS look for HTML 5 in today's first class.

(!!!!!!!! IMPORTANT !!!!!!!!!)---> due to writing tag inside<> will bring in change website's result so i will not be writing(<>)


INTRODUCTION to html 5
The HTML 5 language has a "custom" HTML syntax that is compatible with HTML 4 and XHTML1 documents published on the Web, but is not compatible with the more esoteric SGML features of HTML 4.

HTML 5 does not have the same syntax rules as XHTML where we needed lower case tag names, quoting our attributes,an attribute had to have a value and to close all empty elements.

But HTML5 is coming with lots of flexibility and would support the followings −

    Uppercase tag names.
    Quotes are optional for attributes.
    Attribute values are optional.
    Closing empty elements are optional.
    The DOCTYPE

DOCTYPEs in older versions of HTML were longer because the HTML language was SGML based and therefore required a reference to a DTD.

HTML 5 authors would use simple syntax to specify DOCTYPE as follows −

!DOCTYPE html (note : <> is missing in front and last word)



HTML5 Elements

HTML5 elements are marked up using start tags and end tags. Tags are delimited using angle brackets with the tag name in between.

The difference between start tags and end tags is that the latter includes a slash before the tag name.

  • i have edited these lines and others through html which i will be teaching on next class!!
    Please help me to grow by upvoating me and follow me stay tuned learn well!!

Sort:  

This post recieved an upvote from minnowpond. If you would like to recieve upvotes from minnowpond on all your posts, simply FOLLOW @minnowpond

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 59987.83
ETH 2418.78
USDT 1.00
SBD 2.41