HOME | PHP Tutorial | CSS
facebook icon
AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP
PHP Tutorial

PHP forms
HTML Tutorial

CSS Tutorial

CSS Text Bold


CSS Tutorial » CSS Text Bold

The font-weight property sets how thick or thin characters in text should be displayed.

We can add Text Bold "font-weight"as:
Inline - by using the style attribute in HTML elements
Internal - by using a <style> element in the <head> section
External - by using an external CSS file as style.css

Syntax:

Syntax: Internal & External CSS.
font-weight: normal or bold or bolder or lighter or number or initial or inherit;

Syntax: Inline CSS inside of an HTML tag.
font-weight: normal or bold or bolder or lighter or number or initial or inherit;

Syntax: HTML Simple text bold.
<strong>Yor text here</strong>
Note: use external CSS instead.


How to create CSS Text Bold - examples


You can try to execute the following code to change the font font-weight and <strong> </strong>in an HTML page.

Example:
Example 1, How to create CSS Text Bold - examples:

<!DOCTYPE html>
<html>
<head>
<title>CSS Text Bold - examples - example</title>
<style>
div.bold1 {
font-weight: norma;;
}

div.bold2 {
font-weight: bold;
}

div.bold3 {
font-weight: 900;
}
</style>
</head>
<body>
<h1>CSS Text Bold. The font-weight Property</h1>
<div class="bold1">Here your text.</div>
<div class="bold2">Here your text.</div>
<div class="bold3">Here your text.</div>
<h2>CSS Text bold. The font-weight Property using inline CSS</h2>
<p style="font-weight:bold; color:blue;"> I'm a big, blue, <strong>strong</strong> paragraph </p>
<h3>HTML simple Text bold.</h3>
<strong> I'm a big, blue, <strong>strong bold</strong> paragraph </strong>
</body>
</htm

Note: Use external CSS instead.

CSS Text Bold, italic, property, style, on hover, font, size, bootstrap, code CSS Text Bold - css tutorial

321. CSS Tutorial
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, PHP, and XML.
https://www.w3schools.com/css/default.asp

812. CSS (foreground) color - CSS tutorials - w3resource

https://www.w3resource.com/css/color/introduction.php

2806. CSS Padding, top, bottom, left, right, css tutorial
CSS Padding, top, bottom, left, right css tutorial
http://www.agernic.com/css-tutorial/css-padding-top-bottom-left-right.html

2236. CSS Tutorial - Text formatting
Text decoration it
https://tutorialehtml.com/en/css-tutorial-text-formatting/

2235. CSS Tutorial - Positioning
Attaching the fixed value of the position attribute to an HTML element, you will get a
https://tutorialehtml.com/en/css-tutorial-positioning/

2590. Android tutorial for beginners - Learn Android Programming and how to develop android mobile phone and ipad applications.
Online CSS Tutorial pdf, what is CSS, Online Courses, Classes, Training, Tutorials for Beginners - agernic.com is a free interactive Code, Tags, Example, CSS, Editor, Online Courses, Training for beginners
http://www.agernic.com/android-tutorial.html

Your add here
PHP ucfirst() function

PHP implode() function

PHP str_repeat() function

PHP strtolower() function

PHP print() function

PHP str_split() function

PHP strstr() function

PHP empty() Function

PHP ltrim() function

PHP strlen() function

PHP isset() Function

PHP htmlspecialchars() function

PHP trim() function

PHP html_entity_decode() function

PHP md5() function

PHP count() Function

HTML Table Style
SQL create table primary key autoincrement
CSS background, Color, Background Image
News Paper Templates
CSS Introduction Tutorial
CSS text-align