Coding with Mudassar

Coding with Mudassar Contact information, map and directions, contact form, opening hours, services, ratings, photos, videos and announcements from Coding with Mudassar, Web designer, Sialkot.

15/08/2024

*`How to View HTML Source`*

Have you ever seen a Web page and wondered "Hey! How did they do that?"

*`View HTML Source Code:`*

Click CTRL + U in an HTML page, or right-click on the page and select "View Page Source". This will open a new tab containing the HTML source code of the page.

*`Inspect an HTML Element:`*

Right-click on an element (or a blank area), and choose "Inspect" to see what elements are made up of (you will see both the HTML and the CSS). You can also edit the HTML or CSS on-the-fly in the Elements or Styles panel that opens.

15/08/2024

*`HTML Images`*

HTML images are defined with the tag.

The source file (src), alternative text (alt), width, and height are provided as attributes:

*`Example`*

>

Web designer

15/08/2024

*`HTML Links`*

HTML links are defined with the tag:

*`Example`*

> This is a link

The link's destination is specified in the href attribute.

Attributes are used to provide additional information about HTML elements.

You will learn more about attributes in a later chapter.

15/08/2024

*`HTML Paragraphs`*

HTML paragraphs are defined with the tag:

*`Example:`*

> This is a paragraph.
> This is another paragraph.

15/08/2024

*`HTML Headings`*

HTML headings are defined with the to tags.

defines the most important heading. defines the least important heading:

*`Example:`*

> This is heading 1
> This is heading 2
> This is heading 3

15/08/2024

*The Declaration*

The declaration represents the document type, and helps browsers to display web pages correctly.

It must only appear once, at the top of the page (before any HTML tags).

The declaration is not case sensitive.

The declaration for HTML5 is:

*Example:*

>

15/08/2024

*HTML Documents*

All HTML documents must start with a document type declaration: .

The HTML document itself begins with and ends with .

The visible part of the HTML document is between and .

*`Example:`*

>
>
>

> My First Heading
> My first paragraph.

>
>

Web designer

15/08/2024

HTML Introduction

HTML is the standard markup language for creating Web pages.

What is HTML?

HTML stands for Hyper Text Markup Language

HTML is the standard markup language for creating Web pages

HTML describes the structure of a Web page

HTML consists of a series of elements

HTML elements tell the browser how to display the content

HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.

Example




Page Title



My First Heading
My first paragraph.




Example Explained

The declaration defines that this document is an HTML5 document

The element is the root element of an HTML page

The element contains meta information about the HTML page

The element specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab)

The element defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.

The element defines a large heading

The element defines a paragraph

Address

Sialkot

Website

Alerts

Be the first to know and let us send you an email when Coding with Mudassar posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share

Category