HTML
SMS stands for mobile phone number, and body stands for text message content
<a href="sms:10086? Body =888" id="smsSend">
<a href=" SMS :10086&body=888" id="smsSend">
JS judge mobile phone system
const u = navigator.userAgent; const isIOS = !! u.match(/\(i[^;] +; ( U;) ? CPU.+Mac OS X/); / / ios terminal const isAndroid = u.i ndexOf (' Android ') > 1 | | u.i ndexOf (' Linux ') > 1; // Android terminalCopy the code
A tag to make a call
<a href="tel://10086">