Generally
every HTML documents contains the following parts –
·
Version Information - <!DOCTYPE html> represents version of
the HTML. It is the first line in HTML code. It is related to HTML5 syntax.
Long attribute – It represents
the primary languages of your webpage. It contains two letter country code and
language code. Example –
§ English(U.S)
<html lang=”en-US”>
---------
</html>
§ English(I.N)
<html lang=”en-IN”)
---------
</html>
Note – If language not declared default is U.S English
·
Head Section – This section supports the following list of
tags - <title>, <link>, <meta>, <style>, <script>
·
Body Section – In this section we write all the logics which
is to be displayed in the webpage
No comments:
Post a Comment