How to write css using notepad
How to write css using Notepad? Here are the detailed steps
Steps:
1 , Open the Notepad program in Windows
2. Enter the css code in Notepad
3. Click the menu "File" ---> "Save", and "Save As" will pop up dialog box, save the above document as a css document with the suffix "*.css", such as my_firstcss.css
. It should be noted that the file suffix saved by Notepad is "*.txt" by default, so The file name needs to be enclosed in English double quotes ("").
4. Double-click the saved css document, and Windows will automatically call the browser software (such as IE) to open the css document
Case code:
New Notepad file, open Notepad, use css to edit the web page, just add the css statement to be used in , add in
Just add the statement to use the css attribute in the content area .For example:
<html> <head> <title>my first text html</title> <style type="text/css"> body{ font-size:30px; font-family:Arial,Helvetica,sans-serif; } </style> </head> <body> welcome to my first text html! </body> </html>
Display results: (The text font is Arial, the font size is 30px)
The above is the detailed content of How to write css using notepad. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to use locally installed font files on web pages In web development, users may want to use specific fonts installed on their computers to enhance the network...

The adaptation issues of the Element-UI menu component el-menu and label size adjustment During the development process of using the Element-UI framework, the flexibility and ease of use of the el-menu component...

The label size adjustment of the Element-UI menu component el-menu and the behavior differences under the mode attributes of the Element-UI menu component will be used to determine the different mode modes of the el-menu component in the Element-UI framework...

CSS gradient color effect implementation: Gradient background color from top to bottom In web design, how to transition from left to right in the search box and the background color under the carousel image...

How to customize resize symbols with CSS to match background color? In web design, the details of the user experience can often significantly improve the overall effect. For example...

How to solve the problem of page jitter caused by dynamically setting elements to fixed by JS. When dynamically setting elements to fixed by JavaScript, you sometimes encounter page jitter...

Under fixed width layout, the subtle relationship between font size and letter width When designing web pages, we often encounter the need to line up in fixed width containers...

How to implement a custom theme by overriding the SCSS variable of Element? Using Element...
