fix: Update packages and fix local dev (#26907)
<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. --> - [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md). - [x] My pull request has a descriptive title (not a vague title like `Update index.md`) - [x] My pull request targets the `master` branch of freeCodeCamp.
This commit is contained in:
committed by
mrugesh mohapatra
parent
153e1c9f38
commit
7da04a348b
@@ -0,0 +1,22 @@
|
||||
---
|
||||
title: Font Size Attribute
|
||||
---
|
||||
## Font Size Attribute
|
||||
|
||||
This attribute specifies the font size as either a numeric or relative value. Numeric values range from `1` to `7` with `1` being the smallest and `3` the default. It can also be defined using a relative value, like `+2` or `-3`, which set it relative to the value of the size attribute of the `<basefont>` element, or relative to `3`, the default value, if none does exist.
|
||||
|
||||
Syntax:
|
||||
|
||||
`<font size="number">
|
||||
`
|
||||
|
||||
Example:
|
||||
```html
|
||||
<html>
|
||||
<body>
|
||||
<font size="6">This is some text!</font>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
Note : `The size attribute of <font> is not supported in HTML5. Use CSS instead.`
|
Reference in New Issue
Block a user