"if you encounter any errors in SAP, send me a screenshot at pramod@learntosap.com, and I will help you resolve the issue."

HTML Attribute Reference Learntosap -

HTML TUTORIALS-

HTML Attribute Reference Learntosap -

Introduction-

HTML Attribute Reference Learntosap -

-What IS HTML Attribute Reference -Attributes provide extra information about HTML elements.They are always included in the opening tag and usually come in name="value" pairs...also Attributes provide additional details about an element.They help define the behavior, appearance, or data of HTML elements...Example:-

<strong><a href="https://learntosap.com">Visit Learntosap</a></strong>

Trulli Trulli

-)πŸ“Œ Common HTML Attributes with Examples:- href

βœ… Example-
<a href="https://learntosap.com">Visit Learntosap</a>

πŸ”Ή-href is the attribute name.

πŸ”Ή-"https://example.com" is the value.

πŸ”Ή-Together, they tell the browser where the link should go.

-)πŸ› οΈ General Rules of Attributes-

πŸ”Ή-Attributes are always added to the opening tag.

πŸ”Ή-Most attributes have a name and a value, separated by an equals sign =.

πŸ”Ή-The value is enclosed in quotes (single or double quotes are both are allowed).

πŸ”Ή-Some attributes are boolean (e.g., disabled, checked, readonly) and don’t need a value.


-)πŸ“Œ Common HTML Attributes with Examples:- title

βœ… Example-
<a title="https:// Welcome To learntosap.com">Visit Learntosap.com</a>


-)🧩 Common HTML Attributes with Examples:- src

πŸ”Ή- Used in elements like <img>, <video>, or <iframe>, src sets the source of the file (image, video, page, etc.).

βœ… Example-
<a src="img.jpg">Visit Learntosap.com</a>


-)🧩 Common HTML Attributes with Examples:- target

πŸ”Ή- Used in <a> tags, the target attribute defines where to open the linked document

βœ… Example-
<a href="page.html" target="_blank">Open in New Tab</a>


-)🧩 Common HTML Attributes with Examples:- action

πŸ”Ή- Used in <a> forms, it tells the browser where to send the form data..

βœ… Example-
<form action="submit.php" method="post">


-)🧩 Common HTML Attributes with Examples:- style

πŸ”Ή- Used in Inline styling with CSS is done using the style attribute. It allows you to change colors, size, spacing, etc., directly within the HTML tag..

βœ… Example-
<h2 style="color:blue; font-size:24px;">Styled Heading</h2>


🌐 Global Attributes (Available in Most Tags)-

-)HTML Global Attributes Reference:-

No Attribute Purpose
1. <id> Unique identifier.
2. <class> CSS/JavaScript targeting.
3. <style> Inline styling.
4. <title> Tooltip text.
5. <hidden> Hides the element.
6. <accesskey> Shortcut key.
7. <lang> Defines the language.
8. <multiple> select multiple files.

Live Code Preview


May Be Like Important Link-

-Define Wrehouse Number

-Cretae New Customer Account Group

-21-Pricing Procedure-VOK0

-Item Category-VOV7