suchen

Kleines Tag in HTML

Sep 04, 2024 pm 04:27 PM
htmlhtml5HTML TutorialHTML PropertiesHTML tags

The tag is one of the features in HTML mainly; it represents the text identified and displayed from one size into another size that is big to small size HTML body text will be converted largely into small. The tag will focus on the HTML its not undercover whole user browser font sizes. It will support all type of browsers, so it is fully accepted the browser compatibility modes. tag is an HTML element the web page content will change the smaller size, and there are no changes in the text on the web pages.

Syntax:

The basic syntax of the tag as follows.


<p>
<small>
----some contents---
</small>
</p>

The above codes are the basic steps to declare the tag in HTML documents. We must use both opening and closing brackets for the tag. In each HTML tags have their own features and some de-merits to the projects based on the versions, runnable environments, etc. these features are acceptable for all the HTML tags. tag is used for all the places in HTML tags; they use nested concepts to derive the HTML web contents in sub-division parts.

How does Small Tag work in HTML?

HTML small tags do not have any specific attributes support for HTML web pages; it is a global one that will support all over the web page contents in the browser screen. By using a small tag, the size of the fonts must vary; that is a small font for some various needs its have an expectation also it includes styles. In html5 is gained some new purposes for web page users. But it is common for the HTML small text inside comments and some fine prints also; it often includes some legal text or copyright information.

In body tag in a web page, all the contents of the text will be the same size that is often as normal, but there are sometimes certain parts of the copied text that will be a smaller size visually it will be broken one that the text is split and make it as a readable format in web pages. The tag is one way to format the text, and CSS with some other tags has reduced the importance of this tag. The small tag was one of the good tags when we used it properly, and also, it will be used multiple times on web pages and can be nested with inside other tags for some effects.

We will add to possible for styles and added some functionalities to the tags; this is nothing but adding an attribute with after the small in the opening tag. It includes attributes for class directories, id, languages, styles, and titles. In most of the cases class, ids are used with the web pages and its usages as line as examples with all the attributes there is have some spaces after the initial with the attribute names than an equal sign, identifiers of the attributes in double-quotes. Both the class and ids types are the attributes it refers to the CSS stylings of the elements, and it will be either stored in tag of the web page documents on an external file.

An id refers to denote the single instance of the web page whereas classes usually it refers to some repeating elements on the page it is mainly for the reasons for tag the class attributes is nearly always used over the id attributes because in practice, type it does not make many differences in the web page. The attributes are always allowed with some CSS styles pieces of information for the tag in HTML. The directory dir attribute is allowed for reading the HTML text in both left and right format language lang. It is allowed to specified the languages for both tag and title contents. It is used to allow some extra contents and information for the tags.

It is mainly possible to attach the scripts like javascript to use the HTML tags and also as well as add some functionalities to the web pages based on the user requirements those scripts in HTML will write for the outside scope of the document.The tag is an inline element in HTML. We use the tag to define the alter text size in the web pages if suppose the page is written in HTML5 versions, the mentioned altering text tag size issue is to be ignored on the case.

Examples

The examples of the following are given below:

Example #1

Code:


<p>Welcome To My Domain</p>
<p><small>welcome users To My Domain</small></p>

Output:

Kleines Tag in HTML

Example #2

Code:


<style>
sample {
font-size: .8em;
color:blue;
}
</style>


<p>Welcome To My Domain,All the New Users welcomed once again</p>
<sample> Please contact any queries to email:[email protected] </sample>

Output:

Kleines Tag in HTML

Example #3

Code:


<p>Welcome To My Domain.</p>
<button onclick="sample()">Click</button>
<p id="example1"></p>
<script>
function sample() {
var s = "mailto:[email&#160;protected]!";
var r = s.small();
document.getElementById("example1").innerHTML = r;
}
</script>

Output:

Kleines Tag in HTML

The above three examples will show the basic tag HTML with different formats in web pages. Based on the project’s user requirements, we will use the small tag and attributes in real-time environments. And also, we used javascript for the third example; after clicking the button, the mail address will be shown in a smaller size, so this will vary when compared to the previous two examples Event handler mechanism will use the HTML contents attributes enable to invoke the scripts from within the HTML documents. The script is invoked and occurs in certain events when we call the functions in the front end screen to the back end. Each event handler mechanism contains certain attributes to deal with the set of events in HTML scripts.

Conclusion

Mainly in HTML, we use the tag has one feature for touching the surface of the HTML predefined tags. Mainly it will use the versatile in HTML tags easily among other tags. It will combine with CSS to present with more attractive for the web pages in users.

Das obige ist der detaillierte Inhalt vonKleines Tag in HTML. Für weitere Informationen folgen Sie bitte anderen verwandten Artikeln auf der PHP chinesischen Website!

Stellungnahme
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
HTML vs. CSS vs. JavaScript: Ein vergleichender ÜberblickHTML vs. CSS vs. JavaScript: Ein vergleichender ÜberblickApr 16, 2025 am 12:04 AM

Die Rollen von HTML, CSS und JavaScript in der Webentwicklung sind: HTML ist für die Inhaltsstruktur verantwortlich, CSS ist für den Stil verantwortlich und JavaScript ist für dynamisches Verhalten verantwortlich. 1. HTML definiert die Webseitenstruktur und den Inhalt durch Tags, um die Semantik zu gewährleisten. 2. CSS steuert den Webseitenstil über Selektoren und Attribute, um es schön und einfach zu lesen. 3. JavaScript steuert das Verhalten von Webseiten über Skripte, um dynamische und interaktive Funktionen zu erzielen.

HTML: Ist es eine Programmiersprache oder etwas anderes?HTML: Ist es eine Programmiersprache oder etwas anderes?Apr 15, 2025 am 12:13 AM

HtmlisnotaprogrammingLanguage; itiSamarkuplanguage.1) htmlstructuresandFormatswebcontentuses.2) itWorkswithCSSForstylingandjavaScriptForinteraktivität, EnhancingWebDevelopment.

HTML: Erstellen der Struktur von WebseitenHTML: Erstellen der Struktur von WebseitenApr 14, 2025 am 12:14 AM

HTML ist der Eckpfeiler der Erstellung von Webseitenstruktur. 1. HTML definiert die Inhaltsstruktur und die Semantik und Verwendung usw. Tags. 2. Stellen Sie semantische Marker wie usw. zur Verfügung, um den SEO -Effekt zu verbessern. 3. Um die Benutzerinteraktion durch Tags zu verwirklichen, achten Sie auf die Verifizierung der Form. 4. Verwenden Sie fortschrittliche Elemente wie in Kombination mit JavaScript, um dynamische Effekte zu erzielen. 5. Zu den häufigen Fehlern gehören nicht abgegebene Bezeichnungen und nicht geeignete Attributwerte, und Überprüfungstools sind erforderlich. 6. Optimierungsstrategien umfassen das Reduzieren von HTTP -Anforderungen, die Komprimierung von HTML, die Verwendung semantischer Tags usw.

Von Text zu Websites: Die Kraft von HTMLVon Text zu Websites: Die Kraft von HTMLApr 13, 2025 am 12:07 AM

HTML ist eine Sprache, mit der Webseiten erstellt, die Webseitenstruktur und -inhalt über Tags und Attribute definiert werden. 1) HTML organisiert die Dokumentstruktur über Tags, wie z. B.. 2) Der Browser analysiert HTML, um das DOM zu erstellen und die Webseite zu rendern. 3) Neue Merkmale von HTML5, wie z. B. Multimedia -Funktionen. 4) Zu den häufigen Fehlern gehören nicht abgestimmte Bezeichnungen und nicht geeignete Attributwerte. 5) Die Optimierungsvorschläge umfassen die Verwendung semantischer Tags und die Reduzierung der Dateigröße.

HTML, CSS und JavaScript verstehen: Ein AnfängerhandbuchHTML, CSS und JavaScript verstehen: Ein AnfängerhandbuchApr 12, 2025 am 12:02 AM

WebdevelopmentRelieSonHtml, CSS und JavaScript: 1) HtmlStructuresContent, 2) CSSstylesit und 3) JavaScriptaddssinteraktivität, Bildung von TheBasisofModerernwebexperiences.

Die Rolle von HTML: Strukturierung von WebinhaltenDie Rolle von HTML: Strukturierung von WebinhaltenApr 11, 2025 am 12:12 AM

Die Rolle von HTML besteht darin, die Struktur und den Inhalt einer Webseite durch Tags und Attribute zu definieren. 1. HTML organisiert Inhalte über Tags wie das Lesen und Verständnis. 2. Verwenden Sie semantische Tags wie usw., um die Zugänglichkeit und SEO zu verbessern. 3. Optimierung des HTML -Codes kann die Ladegeschwindigkeit und die Benutzererfahrung der Webseite verbessern.

HTML und Code: Ein genauerer Blick auf die TerminologieHTML und Code: Ein genauerer Blick auf die TerminologieApr 10, 2025 am 09:28 AM

HtmlisaspecifictypeofcodeFocusedonstructuringuringwebcontent, während "Code" breitincludesluages ​​-ähnlichjavaScriptandpythonforfunctionality.1) htmldefineswebpageStructureStags.2) "Code" cometesaWiNrangeOfLanguagesForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForForfirsInsForfunctionNacts

HTML, CSS und JavaScript: Wesentliche Tools für WebentwicklerHTML, CSS und JavaScript: Wesentliche Tools für WebentwicklerApr 09, 2025 am 12:12 AM

HTML, CSS und JavaScript sind die drei Säulen der Webentwicklung. 1. HTML definiert die Webseitenstruktur und verwendet Tags wie z.

See all articles

Heiße KI -Werkzeuge

Undresser.AI Undress

Undresser.AI Undress

KI-gestützte App zum Erstellen realistischer Aktfotos

AI Clothes Remover

AI Clothes Remover

Online-KI-Tool zum Entfernen von Kleidung aus Fotos.

Undress AI Tool

Undress AI Tool

Ausziehbilder kostenlos

Clothoff.io

Clothoff.io

KI-Kleiderentferner

AI Hentai Generator

AI Hentai Generator

Erstellen Sie kostenlos Ai Hentai.

Heißer Artikel

R.E.P.O. Energiekristalle erklärten und was sie tun (gelber Kristall)
4 Wochen vorBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Beste grafische Einstellungen
4 Wochen vorBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. So reparieren Sie Audio, wenn Sie niemanden hören können
4 Wochen vorBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat -Befehle und wie man sie benutzt
4 Wochen vorBy尊渡假赌尊渡假赌尊渡假赌

Heiße Werkzeuge

Dreamweaver Mac

Dreamweaver Mac

Visuelle Webentwicklungstools

PHPStorm Mac-Version

PHPStorm Mac-Version

Das neueste (2018.2.1) professionelle, integrierte PHP-Entwicklungstool

SublimeText3 Englische Version

SublimeText3 Englische Version

Empfohlen: Win-Version, unterstützt Code-Eingabeaufforderungen!

DVWA

DVWA

Damn Vulnerable Web App (DVWA) ist eine PHP/MySQL-Webanwendung, die sehr anfällig ist. Seine Hauptziele bestehen darin, Sicherheitsexperten dabei zu helfen, ihre Fähigkeiten und Tools in einem rechtlichen Umfeld zu testen, Webentwicklern dabei zu helfen, den Prozess der Sicherung von Webanwendungen besser zu verstehen, und Lehrern/Schülern dabei zu helfen, in einer Unterrichtsumgebung Webanwendungen zu lehren/lernen Sicherheit. Das Ziel von DVWA besteht darin, einige der häufigsten Web-Schwachstellen über eine einfache und unkomplizierte Benutzeroberfläche mit unterschiedlichen Schwierigkeitsgraden zu üben. Bitte beachten Sie, dass diese Software

mPDF

mPDF

mPDF ist eine PHP-Bibliothek, die PDF-Dateien aus UTF-8-codiertem HTML generieren kann. Der ursprüngliche Autor, Ian Back, hat mPDF geschrieben, um PDF-Dateien „on the fly“ von seiner Website auszugeben und verschiedene Sprachen zu verarbeiten. Es ist langsamer und erzeugt bei der Verwendung von Unicode-Schriftarten größere Dateien als Originalskripte wie HTML2FPDF, unterstützt aber CSS-Stile usw. und verfügt über viele Verbesserungen. Unterstützt fast alle Sprachen, einschließlich RTL (Arabisch und Hebräisch) und CJK (Chinesisch, Japanisch und Koreanisch). Unterstützt verschachtelte Elemente auf Blockebene (wie P, DIV),