Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the commonly used HTML codes

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the relevant knowledge of "what is the commonly used HTML code". The editor shows you the operation process through the actual case, and the operation method is simple, fast and practical. I hope this "what is the commonly used HTML code" article can help you solve the problem.

First, how to remove the dotted line around the picture after the picture link is clicked?

Second, e-mail processing submission form

Third, how to write in the code that opens the child window to refresh the parent window?

Window.opener.location.reload ()

4. How to set the size of the open page

Where to open the page

Fifth, how to add a background picture that is not full on the page, and the background image remains unchanged when the page is pulled.

Body

{background-image:url (logo.gif); background-repeat:no-repeat

Background-position:center;background-attachment: fixed}

Check whether a string is composed entirely of numbers

Get the size of a window

Document.body.clientWidth; document.body.clientHeight

8. How to judge whether it is a character or not

If (/ [^ / x00-/xff] / g.test (s)) alert ("containing Chinese characters")

Else alert ("all characters")

How many lines of text are adaptive to 40.TEXTAREA?

Date minus days equals the second date

Function cc (dd,dadd)

{

/ / error handling can be added

Var a = new Date (dd)

A = a.valueOf ()

A = a-dadd * 24 * 60 * 60 * 1000

A = new Date (a)

Alert (a.getFullYear () + year + (a.getMonth () + 1) + month + a.getDate () + day)

} cc ("12 Compact 23 Compact 2002", 2)

Which Radio is chosen

Function checkme ()

For each ob in radio1

If ob.checked then window.alert ob.value

Next

End function

Style.

Barcode

The script never goes wrong

Enter key allows the cursor to move to the next input box

This is the end of the content about "what are the commonly used HTML codes?" Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report