Understanding HTML

Understanding HTML
Understanding HTML                  
HTML or Hyper Text Markup Language is a programming language that we often use to organize a blog or create it and display various information that is on the web.
Broadly speaking, there are 4 types of elements from HTML:
1. Structural. Sign that determines the level or level of an article (for example, <h1> Golf </h1> will instruct the browser to display "Golf" as a large bold text that shows as Heading 1 
2. Presentational. Sign that determines the appearance of a post no matter with the level of the text (for example, <b> boldface </b> will display bold. 
3. Hypertext. Signs that link to parts of the document or links to other documents (for example, <a href = "http://www.example.blogspot.com/"> example blog </a> will display Example Blog as a hyperlink to a specific URL ),
4. Widget elements that create other objects such as buttons (<button>), list (<li>), and horizontal lines (<hr>). The concept of hypertext in HTML allows creating links in a group of words or phrases to go to any part of the World Wide Web.

There are three kinds of links that can be used:

    Links to other parts of the page.
    Links to other pages on one web site.
    Links to different resources or web sites. [4]

Other than presentational markup, other markups do not determine how the writing of an article will look. But for now, the use of HTML tags to determine the appearance has been recommended to begin to be abandoned, and instead used Cascading Style Sheets. 
Example of Simple HTML

<! DOCTYPE html> 
< html > 
 < head  bgcolor = black text = white> 
 < title > '' 'Welcome' '' HTML < / title > 
 < / head > 
 < body > 
 < p > Hello world! < / p > 
 < / body > 
< / html >
HTML Parts  
The HTML document head is enclosed in the <HEAD> </HEAD> tag. 
This section usually contains a TITLE tag that displays the page title in the browser title. 
Besides Bookmark also uses TITLE tags to mark a web site. 
The browser saves the title as a bookmark and also for searching purposes 
usually the title is used as a keyword. 
The header also contains a META tag which can usually be used to determine certain information 
regarding HTML documents. 
You can specify the author name, keywords, etc. on the META tag.
2. Body Elements
Body part is the core or body part of HTML. The body is stated with the <body> tag 
then fill in the writing you want and end with the Tag </body>

HTML does not distinguish between the use of uppercase or lowercase letters of an element. An HTML element consists of tags along with the text contained in these tags. This tag is stated with a smaller sign (<) and a bigger sign (>).
The tag is usually a pair called:
Initial tag, expressed in the form <tag name>
End tag, expressed in the form </ tag name>
Format: <tag name> text displayed </ tag name>.

Example: to display text in italic text format This text looks italicized in your browser with the HTML command <i> This text looks italic in your browser
. 4
The initial tag attribute can have several attributes that express the characteristics of the tag. For example,<P ALIGN=�left�>used to make the left alignment of a paragraph. The tag used is<P>and the accompanying attribute is ALIGN with the value left. The ALIGN attribute value can only be center, left, right or justify. That's all the explanation from me hopefully useful, and apologize if there are deficiencies. That is all and thank you 


Jangan lewatkan

Understanding HTML
4/ 5

Subscribe via email

Suka dengan artikel di atas? Tambahkan email Anda untuk berlangganan.