Basics of HyperText Markup Language (HTML)
Welcome to HTML fundamentals. This article leads you by way of the basics of Hypertext Markup Language (HTML). HTML is the constructing block for web sites. You’re going to study to make a web page with Basics of HyperText Markup Language (HTML) to show in a web browser.
- Use a text editor to author an HTML document.
- Be able to use basic tags to denote paragraphs, emphasis or special type.
- Create hyperlinks to other documents.
- Create an email link.
- Add images to your document.
- Use a table for layout.
- Apply colors to your HTML document.
you are going to need a textual content editor, reminiscent of Notepad, Notepad + +, Adobe Dreamweaver and a web browser, comparable to Internet Explorer or Netscape.
Q: what is Notepad and where do I get it?
A: Notepad is the default windows textual content editor. On most windows methods, click your begin button and select applications then accessories. It will have to be a bit of a blue pocketbook.
Mac users: SimpleText is the default textual content editor on the Mac. In OSX use TextEdit and change the following preferences: pick (within the preferences window) undeniable text as a substitute for wealthy textual content and then decide on ignoring wealthy textual content commands in HTML records. This is very major in view that for those who don’t do this HTML codes most commonly are not going to work.
One thing you should preclude making use of is a word processor (like Microsoft word) for authoring your HTML files.
What’s an HTML File?
HTML is a format that tells a computer easy methods to show an internet web page. The records themselves are undeniable textual content records with certain “tags” or codes that a web browser uses to interpret and display knowledge to your computer reveal.
- HTML stands for Hypertext Markup Language
- An HTML file is a textual content file containing small markup tags
- The markup tags inform the online browser tips on how to show the web page
- An HTML file must have an HTM or HTML file extension
Open your text editor and kind the next text:
<title>My First Webpage</title>
that is my first homepage.
<b>this article is daring</b>
Save the file as my page. Html. Your internet browser. Prefer Open (or Open page) in the File menu of your browser. A dialog box will show up. Decide upon Browse (or pick File) and locate the HTML file you just created – my page. Html – opt for it and click Open. Now you should see a deal within the
dialog field, for example, C: MyDocumentsmypage. Html. Click good enough, and the browser will display the web page.
What you just made is a skeleton HTML record. This is the minimum required knowledge for an internet record and all internet files will have to include these common components. The primary tag in your HTML document is <html>. This tag tells your browser that that is the of an HTML file. The last tag for your file is </html>. This tag tells your browser that this is the end of the HTML file.
The textual content between the <head> tag and the </head> tag is header understanding. Header know-how will not be displayed within the browser window.
The textual content between the <title> tags is the title of your document. The <title> tag is used to uniquely establish every document and can be displayed within the title bar of the browser window.
The textual content between the <body> tags is the textual content with a view to being displayed to your browser.
The text between the <b> and </b> tags can be displayed in a bold font.