How to create code to embed a button to subscribe to your YouTube channel in text form:
1) your channel was registered a couple of years ago, when YouTube had channel identification through https://youtube.com/user/skobks
<script src=”https://apis.google.com/js/platform.js”></script>
<div class=”g-ytsubscribe” data-channel=”skobks” data-layout=”full”></div>
2) you have a new channel that is identified through https://youtube.com/с/UCSLA5pPWpEDodKuA6QKYUEg
<script src=”https://apis.google.com/js/platform.js”></script>
<div class=”g-ytsubscribe” data-channelid=”UCSLA5pPWpEDodKuA6QKYUEg” data-layout=”full”></div>
The finished buttons look like this:
There is a site where you can use the constructor to change the settings for such buttons to display and subscribe to YouTube channels:
https://developers.google.com/youtube/youtube_subscribe_button