lab 2
HTML CODE
HTML was first created by Tim Berners-Lee, Robert Cailliau, and others starting in 1989. It stands for Hyper Text Markup Language.
Hypertext means that the document contains links that allow the reader to jump to other places in the document or to another document altogether. The latest version is known as HTML5.
A Markup Language is a way that computers speak to each other to control how text is processed and presented. To do this HTML uses two things: tags and attributes.
The
1.The
2.The
3.The
4.The
5.The
6.The
7.<h1> defines the most important heading.
8.HTML buttons are defined with the
9.HTML lists are defined with the
10.<b> - Bold text

HOW TO VIEW HTML SORCE
All Internet browsers allow users to view the HTML source code of any of web page they visit. The following sections contain information on the multiple ways to view the source code in each of the major browsers. To proceed, choose an entry from the list below and follow the instructions for that section.
Example:
To view the source code of a web page in Microsoft Edge.
1.Right-click on a blank part of the web page and select View Page Source from the pop-up menu that appears.
Google Chrome users
1.Press Ctrl+U on your computer's keyboard.
WHY THE USE OF HTM OR HTML EXTENSION
An HTM file is an HTML web page used by web browsers, such as Microsoft Internet Explorer and Mozilla Firefox. It is used to display and format text and images in a web browser. HTM files contain markup code in a plain text format.
HTM files serve the exact same purpose as .HTML files. The ".htm" extension arose with the use of Microsoft web development software, such as FrontPage, SharePoint Designer, and Expression Web.
HTM files are much less commonly seen than HTML files.
An HTML file is a webpage coded in HTML that can be displayed in a web browser. It is used to format text, tables, images, and other content that is displayed on a webpage. HTML files are widely used on the web as most pages within static websites have an ".html" extension.
HTML files are saved in a standard text format and consists of tags used to define the structure of a webpage. The files can be opened and edited with a basic text editor but are typically opened by source code editors that come with features that make it easier for developers to code.
HTML source code is parsed by a web browser and is typically not seen by the user. If you want to view the HTML of a webpage, select "View Source" from the web browser's View menu.
HTML was first created by Tim Berners-Lee, Robert Cailliau, and others starting in 1989. It stands for Hyper Text Markup Language.
Hypertext means that the document contains links that allow the reader to jump to other places in the document or to another document altogether. The latest version is known as HTML5.
A Markup Language is a way that computers speak to each other to control how text is processed and presented. To do this HTML uses two things: tags and attributes.
The
<!DOCTYPE html>
declaration defines this document to be HTML51.The
<html>
element is the root element of an HTML page.2.The
<head>
element contains meta information about the document.3.The
<title>
element specifies a title for the document.4.The
<body>
element contains the visible page content.5.The
<h1>
element defines a large heading.6.The
<p>
element defines a paragraph.7.<h1> defines the most important heading.
<h6>
defines the least important heading.8.HTML buttons are defined with the
<button>
tag.9.HTML lists are defined with the
<ul>
(unordered/bullet list) or the <ol>
(ordered/numbered list) tag, followed by <li>
tags (list items)10.<b> - Bold text
11.<strong>
- Important text12.<i>
- Italic text13.<em>
- Emphasized text14.<mark>
- Marked text15.<small>
- Small text16.<del>
- Deleted text17.<ins>
- Inserted text18.<sub>
- Subscript text19.<sup>
- Superscript text
HOW TO VIEW HTML SORCE
All Internet browsers allow users to view the HTML source code of any of web page they visit. The following sections contain information on the multiple ways to view the source code in each of the major browsers. To proceed, choose an entry from the list below and follow the instructions for that section.
Example:
To view the source code of a web page in Microsoft Edge.
- Press Ctrl+U or F12 on your computer's keyboard.
- Select the Elements tab at the top of the right window.
- Press Ctrl+U or F12 on your computer's keyboard.
- Click the Debugger tab at the top of the new menu.
1.Right-click on a blank part of the web page and select View Page Source from the pop-up menu that appears.
Google Chrome users
1.Press Ctrl+U on your computer's keyboard.
WHY THE USE OF HTM OR HTML EXTENSION
An HTM file is an HTML web page used by web browsers, such as Microsoft Internet Explorer and Mozilla Firefox. It is used to display and format text and images in a web browser. HTM files contain markup code in a plain text format.
HTM files serve the exact same purpose as .HTML files. The ".htm" extension arose with the use of Microsoft web development software, such as FrontPage, SharePoint Designer, and Expression Web.
HTM files are much less commonly seen than HTML files.
An HTML file is a webpage coded in HTML that can be displayed in a web browser. It is used to format text, tables, images, and other content that is displayed on a webpage. HTML files are widely used on the web as most pages within static websites have an ".html" extension.
HTML files are saved in a standard text format and consists of tags used to define the structure of a webpage. The files can be opened and edited with a basic text editor but are typically opened by source code editors that come with features that make it easier for developers to code.
HTML source code is parsed by a web browser and is typically not seen by the user. If you want to view the HTML of a webpage, select "View Source" from the web browser's View menu.
Comments
Post a Comment